Pārlūkot izejas kodu

- add CFLAGS_COMBINE check

Bernhard Reutner-Fischer 18 gadi atpakaļ
vecāks
revīzija
52742cfc2f
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  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
 # late binding check to see if the target cc supports -fwhole-program
 CFLAGS_WHOLE_PROGRAM = $(call cc-option,-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....
 # gcc has a bunch of needed stuff....
 include toolchain/gcc/Makefile.in
 include toolchain/gcc/Makefile.in