From: Nicolas Thill Date: Sun, 3 Aug 2008 15:04:28 +0000 (+0000) Subject: fix typo in gcc version check X-Git-Tag: 8.09_rc1~500 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=afcb4fbee4d9bc08b0a9acedcd2d61fed1599930;p=openwrt%2Fsvn-archive%2Fopenwrt.git fix typo in gcc version check SVN-Revision: 12080 --- diff --git a/target/linux/uml/patches/001-gcc4_unit_at_a_time_i386_fix.patch b/target/linux/uml/patches/001-gcc4_unit_at_a_time_i386_fix.patch index 48cffffcd4..17c08cd6c5 100644 --- a/target/linux/uml/patches/001-gcc4_unit_at_a_time_i386_fix.patch +++ b/target/linux/uml/patches/001-gcc4_unit_at_a_time_i386_fix.patch @@ -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 # 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 0430 ] ; then \ ++KBUILD_CFLAGS += $(shell if [ $(call cc-version) -lt 0403 ] ; then \ echo $(call cc-option,-fno-unit-at-a-time); \ else echo $(call cc-option,-funit-at-a-time); fi ;)