diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-05-10 16:38:46 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-05-10 16:38:46 +0000 |
commit | 677e6ff40dacdd6ed8a47b2c92527de6c0844853 (patch) | |
tree | 72f5c1c6dfdcd3e0bb28d0bea816876c091a1dee /Makefile.rules | |
parent | 6b36c73db84d8ff6d1ca7425d53058b22bee88ab (diff) |
Merged revisions 262152 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r262152 | tilghman | 2010-05-10 11:36:25 -0500 (Mon, 10 May 2010) | 17 lines
Merged revisions 262151 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r262151 | tilghman | 2010-05-10 11:34:21 -0500 (Mon, 10 May 2010) | 10 lines
Allow compilation on Mac OS X 10.4 (Tiger)
(closes issue #17297)
Reported by: jcovert
Patches:
20100506__issue17297.diff.txt uploaded by tilghman (license 14)
(closes issue #17302)
Reported by: jcovert
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@262153 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index 89c5fc113..9a97373a5 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -37,6 +37,9 @@ endif OPTIMIZE?=-O6 ifneq ($(findstring darwin,$(OSARCH)),) + ifeq ($(shell /usr/bin/sw_vers -productVersion | cut -c1-4),10.4) + OPTIMIZE+=-fno-inline + endif ifeq ($(shell /usr/bin/sw_vers -productVersion | cut -c1-4),10.6) # Snow Leopard has an issue with this optimization flag on large files (like chan_sip) OPTIMIZE+=-fno-inline-functions |