diff options
author | agb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-09-10 10:06:35 +0000 |
---|---|---|
committer | agb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-09-10 10:06:35 +0000 |
commit | ad43258cc7f1a0094cb61ea6df1cef590926a173 (patch) | |
tree | 93fb831db8afcd45b296223df73c742c2f2b526a /target/linux/generic-2.4/patches/050-build_flags.patch | |
parent | c92ea34a21cd8d6acfe931fa0e97edb56ec57cd9 (diff) |
[generic-2.4] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17553 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch | 6 |
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,) + |