浏览代码

- add CFLAGS_COMBINE check

Bernhard Reutner-Fischer 18 年之前
父节点
当前提交
52742cfc2f
共有 1 个文件被更改,包括 2 次插入0 次删除
  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