mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-04 20:33:53 +00:00
Fix issue #17302 a slightly different way (mad props to Qwell)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@262321 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -37,9 +37,6 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user