fix typo in gcc version check

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12080 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Nicolas Thill 2008-08-03 15:04:28 +00:00
parent fa30639e95
commit 8bb8f6e792
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ Index: linux-2.6.26/arch/um/Makefile-i386
# a lot more stack due to the lack of sharing of stacklots. Also, gcc # a lot more stack due to the lack of sharing of stacklots. Also, gcc
# 4.3.0 needs -funit-at-a-time for extern inline functions. # 4.3.0 needs -funit-at-a-time for extern inline functions.
-KBUILD_CFLAGS += $(shell if [ $(call cc-version) -lt 0400 ] ; then \ -KBUILD_CFLAGS += $(shell if [ $(call cc-version) -lt 0400 ] ; then \
+KBUILD_CFLAGS += $(shell if [ $(call cc-version) -lt 0430 ] ; then \ +KBUILD_CFLAGS += $(shell if [ $(call cc-version) -lt 0403 ] ; then \
echo $(call cc-option,-fno-unit-at-a-time); \ echo $(call cc-option,-fno-unit-at-a-time); \
else echo $(call cc-option,-funit-at-a-time); fi ;) else echo $(call cc-option,-funit-at-a-time); fi ;)