Skip to content
Snippets Groups Projects
Commit b948cf87 authored by Russell Bryant's avatar Russell Bryant
Browse files

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.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent da9d86bf
No related branches found
No related tags found
No related merge requests found
......@@ -55,9 +55,9 @@ endif
%.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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment