- add CFLAGS_COMBINE check

This commit is contained in:
Bernhard Reutner-Fischer 2007-03-21 10:55:02 +00:00
parent 22c0b6ee5c
commit 52742cfc2f
1 changed files with 2 additions and 0 deletions

View File

@ -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