aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/uml
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2008-08-03 15:04:28 +0000
committerNicolas Thill <nico@openwrt.org>2008-08-03 15:04:28 +0000
commit8bb8f6e792fbe6ab0f966b2ded5e62da8ed78350 (patch)
tree22b40370c41009bff77dad1976bffffe061a1f20 /target/linux/uml
parentfa30639e952cfa7ca29e23403828c10d71324d56 (diff)
downloadupstream-8bb8f6e792fbe6ab0f966b2ded5e62da8ed78350.tar.gz
upstream-8bb8f6e792fbe6ab0f966b2ded5e62da8ed78350.tar.bz2
upstream-8bb8f6e792fbe6ab0f966b2ded5e62da8ed78350.zip
fix typo in gcc version check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12080 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/uml')
-rw-r--r--target/linux/uml/patches/001-gcc4_unit_at_a_time_i386_fix.patch2
1 files changed, 1 insertions, 1 deletions
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 ;)