From: Bernhard Reutner-Fischer Date: Wed, 21 Mar 2007 10:55:02 +0000 (-0000) Subject: - add CFLAGS_COMBINE check X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=52742cfc2f0c84640b487396efb3fdea4d3da1b0;p=buildroot.git - add CFLAGS_COMBINE check --- diff --git a/toolchain/Makefile.in b/toolchain/Makefile.in index 84e2ae42fe..ca798bf6bf 100644 --- a/toolchain/Makefile.in +++ b/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