diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Makefile | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,12 @@ 2009-12-03 Kaz Kylheku <kkylheku@gmail.com> + * Makefile (CFLAGS): Better test for g++, when removing + warning options not appropriate for g++. Sometimes + g++ may be called something that dosn't end in g++, + like g++4. + +2009-12-03 Kaz Kylheku <kkylheku@gmail.com> + Fix for failing test suite on MIPS machine, due to gc failing to mark a local variable in txr_main. @@ -32,7 +32,7 @@ CFLAGS := -I. -I$(top_srcdir) $(LANG_FLAGS) $(DIAG_FLAGS) \ $(OPT_FLAGS) $(DBG_FLAGS) $(PLATFORM_FLAGS) CFLAGS := $(filter-out $(REMOVE_FLAGS),$(CFLAGS)) -ifeq ($(patsubst %g++,y,$(CC)),y) +ifneq ($(subst g++,@,$(notdir $(CC))),$(notdir $(CC))) CFLAGS := $(filter-out -Wmissing-prototypes -Wstrict-prototypes,$(CFLAGS)) endif |