aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-17 08:13:13 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-17 08:13:13 +0000
commit47c875fafddd8b9f8a2c1ec190ee79af9398d36b (patch)
tree1ef56e123a074e1abfb1f6a89a6f09ec5eba37c2 /Makefile
parentee64593b6999efc4181c08532d17103bdb392e60 (diff)
Make sure we support nested functions with GCC 4.01 OS/X. This might not be OS/X only,
but I'll leave it to kpfleming to add this to the configure script for testing. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@150469 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ce901e2a0..96cb55c06 100644
--- a/Makefile
+++ b/Makefile
@@ -296,7 +296,7 @@ MOD_SUBDIRS_EMBED_LIBS:=$(MOD_SUBDIRS:%=%-embed-libs)
MOD_SUBDIRS_MENUSELECT_TREE:=$(MOD_SUBDIRS:%=%-menuselect-tree)
ifneq ($(findstring darwin,$(OSARCH)),)
- ASTCFLAGS+=-D__Darwin__
+ ASTCFLAGS+=-D__Darwin__ -fnested-functions
SOLINK=-dynamic -bundle -undefined suppress -force_flat_namespace
else
# These are used for all but Darwin