[asterisk-commits] russell: trunk r267303 - /trunk/main/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 2 16:41:56 CDT 2010


Author: russell
Date: Wed Jun  2 16:41:54 2010
New Revision: 267303

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=267303
Log:
Ensure the -Wno-strict-aliasing flag makes it, even if ASTCFLAGS has been specified.

When ASTCFLAGS was specified with the make command, Makefile.rules was using
the specified value from the command line and not the one here, making it so this
flag would go missing.

Modified:
    trunk/main/Makefile

Modified: trunk/main/Makefile
URL: http://svnview.digium.com/svn/asterisk/trunk/main/Makefile?view=diff&rev=267303&r1=267302&r2=267303
==============================================================================
--- trunk/main/Makefile (original)
+++ trunk/main/Makefile Wed Jun  2 16:41:54 2010
@@ -102,7 +102,7 @@
 	$(MAKE) -C editline libedit.a
 
 db1-ast/libdb1.a: CHECK_SUBDIR
-	_ASTCFLAGS="$(_ASTCFLAGS)" ASTCFLAGS="$(ASTCFLAGS) -Wno-strict-aliasing" $(MAKE) -C db1-ast libdb1.a
+	_ASTCFLAGS="$(_ASTCFLAGS) -Wno-strict-aliasing" ASTCFLAGS="$(ASTCFLAGS)" $(MAKE) -C db1-ast libdb1.a
 
 ifneq ($(findstring REBUILD_PARSERS,$(MENUSELECT_CFLAGS)),)
 ast_expr2.c ast_expr2.h: ast_expr2.y




More information about the asterisk-commits mailing list