Commit 52742cfc authored by Bernhard Reutner-Fischer's avatar Bernhard Reutner-Fischer
Browse files

- add CFLAGS_COMBINE check

parent 22c0b6ee
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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