From: Olle Johansson Date: Fri, 17 Oct 2008 08:13:13 +0000 (+0000) Subject: Make sure we support nested functions with GCC 4.01 OS/X. This might not be OS/X... X-Git-Tag: 1.6.2.0-beta1~1074 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=858a6baa76e0a898d7444ffde2bff3ba2009a85d;p=thirdparty%2Fasterisk.git 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: https://origsvn.digium.com/svn/asterisk/trunk@150469 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/Makefile b/Makefile index ce901e2a03..96cb55c068 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