aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.4/patches/050-build_flags.patch
diff options
context:
space:
mode:
authorAndy Boyett <agb@openwrt.org>2009-09-10 10:06:35 +0000
committerAndy Boyett <agb@openwrt.org>2009-09-10 10:06:35 +0000
commit22dfa7ae22c4c5eef2cd08e2c0e76ada5bf7fca8 (patch)
treeb4460277cbaf35402d23dbf83a18bc76cd27cc73 /target/linux/generic-2.4/patches/050-build_flags.patch
parent7c6ce6633008c17e08b422d8d2f45b29ecf52d99 (diff)
downloadupstream-22dfa7ae22c4c5eef2cd08e2c0e76ada5bf7fca8.tar.gz
upstream-22dfa7ae22c4c5eef2cd08e2c0e76ada5bf7fca8.tar.bz2
upstream-22dfa7ae22c4c5eef2cd08e2c0e76ada5bf7fca8.zip
refresh patches
SVN-Revision: 17553
Diffstat (limited to 'target/linux/generic-2.4/patches/050-build_flags.patch')
-rw-r--r--target/linux/generic-2.4/patches/050-build_flags.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic-2.4/patches/050-build_flags.patch b/target/linux/generic-2.4/patches/050-build_flags.patch
index 7bd1a5a074..dd4b62ced9 100644
--- a/target/linux/generic-2.4/patches/050-build_flags.patch
+++ b/target/linux/generic-2.4/patches/050-build_flags.patch
@@ -70,9 +70,9 @@
-fno-strict-aliasing -fno-common
CFLAGS += -fno-builtin-strpbrk -fno-builtin-sprintf
ifndef CONFIG_FRAME_POINTER
-@@ -105,6 +104,8 @@ if_gcc4 = $(shell if echo __GNUC__ | $(C
- # disable pointer signedness warnings in gcc 4.0
- CFLAGS += $(call check_gcc,-Wno-pointer-sign,)
+@@ -108,6 +107,8 @@ CFLAGS += $(call check_gcc,-Wno-pointer-
+ # disable stupid and dangerous "optimization" in gcc 3.2+
+ CFLAGS += $(call check_gcc,-fno-delete-null-pointer-checks,)
+CFLAGS += $(call check_gcc, -funit-at-a-time,)
+