mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-27 06:31:54 +00:00
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
This commit is contained in:
@@ -55,9 +55,9 @@ endif
|
|||||||
%.oo: %.cc
|
%.oo: %.cc
|
||||||
$(ECHO_PREFIX) echo " [CXX] $< -> $@"
|
$(ECHO_PREFIX) echo " [CXX] $< -> $@"
|
||||||
ifeq ($(AST_DEVMODE),yes)
|
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
|
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
|
endif
|
||||||
|
|
||||||
%.c: %.y
|
%.c: %.y
|
||||||
|
|||||||
Reference in New Issue
Block a user