X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/0ec45ff59636032156ccdcc3cc54c1862af1e7b2..1bd851b509d3a9236fb236fa6c4a861b53465540:/target/linux/generic-2.4/patches/050-build_flags.patch?ds=sidebyside 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 7bd1a5a07..dd4b62ced 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,) +