Browse Source

- add CFLAGS_COMBINE check

Bernhard Reutner-Fischer 18 years ago
parent
commit
52742cfc2f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      toolchain/Makefile.in

+ 2 - 0
toolchain/Makefile.in

@@ -16,6 +16,8 @@ OPTIMIZE_FOR_CPU=$(ARCH)
 
 # late binding check to see if the target cc supports -fwhole-program
 CFLAGS_WHOLE_PROGRAM = $(call cc-option,-fwhole-program,)
+# gcc-3.4 would need -combine, I only support 4.2, which correctly uses '--'
+CFLAGS_COMBINE = $(call cc-option,--combine,)
 
 # gcc has a bunch of needed stuff....
 include toolchain/gcc/Makefile.in