[asterisk-commits] russell: trunk r50995 - in /trunk: ./ Makefile.rules

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Jan 15 16:51:05 MST 2007


Author: russell
Date: Mon Jan 15 17:51:04 2007
New Revision: 50995

URL: http://svn.digium.com/view/asterisk?view=rev&rev=50995
Log:
Merged revisions 50994 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50994 | russell | 2007-01-15 17:49:48 -0600 (Mon, 15 Jan 2007) | 2 lines

Filter out a few CFLAGS that are not valid CXXFLAGS.

........

Modified:
    trunk/   (props changed)
    trunk/Makefile.rules

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/Makefile.rules
URL: http://svn.digium.com/view/asterisk/trunk/Makefile.rules?view=diff&rev=50995&r1=50994&r2=50995
==============================================================================
--- trunk/Makefile.rules (original)
+++ trunk/Makefile.rules Mon Jan 15 17:51:04 2007
@@ -55,9 +55,9 @@
 %.oo: %.cc
 	$(ECHO_PREFIX) echo "   [CXX] $< -> $@"
 ifeq ($(AST_DEVMODE),yes)
-	$(CMD_PREFIX) $(CXX) -o $@ -c $< $(PTHREAD_CFLAGS) $(ASTCFLAGS) -MMD -MT $@ -MF .$(subst /,_,$@).d -MP
+	$(CMD_PREFIX) $(CXX) -o $@ -c $< $(PTHREAD_CFLAGS) $(filter-out -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations,$(ASTCFLAGS)) -MMD -MT $@ -MF .$(subst /,_,$@).d -MP
 else
-	$(CMD_PREFIX) $(CXX) -o $@ -c $< $(PTHREAD_CFLAGS) $(ASTCFLAGS)
+	$(CMD_PREFIX) $(CXX) -o $@ -c $< $(PTHREAD_CFLAGS) $(filter-out -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations,$(ASTCFLAGS))
 endif
 
 %.c: %.y



More information about the asterisk-commits mailing list