[asterisk-commits] oej: trunk r150469 - /trunk/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Oct 17 03:13:13 CDT 2008


Author: oej
Date: Fri Oct 17 03:13:13 2008
New Revision: 150469

URL: http://svn.digium.com/view/asterisk?view=rev&rev=150469
Log:
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.

Modified:
    trunk/Makefile

Modified: trunk/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/Makefile?view=diff&rev=150469&r1=150468&r2=150469
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Fri Oct 17 03:13:13 2008
@@ -296,7 +296,7 @@
 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




More information about the asterisk-commits mailing list