x86: add missing l1 cache shift change
[openwrt.git] / target / linux / uml / patches-2.6.32 / 002-gcc4_unfortify_source.patch
1 --- a/arch/um/Makefile-i386
2 +++ b/arch/um/Makefile-i386
3 @@ -39,4 +39,8 @@ KBUILD_CFLAGS += $(shell if [ $(call cc-
4 echo $(call cc-option,-fno-unit-at-a-time); \
5 else echo $(call cc-option,-funit-at-a-time); fi ;)
6
7 +# disable compile-time buffer checks, enabled by default on Ubuntu 8.10
8 +# and later
9 +KBUILD_CFLAGS += $(call cc-option,-U_FORTIFY_SOURCE)
10 +
11 KBUILD_CFLAGS += $(cflags-y)
12 --- a/arch/um/Makefile-x86_64
13 +++ b/arch/um/Makefile-x86_64
14 @@ -24,3 +24,7 @@ LINK-y += -m64
15
16 # Do unit-at-a-time unconditionally on x86_64, following the host
17 KBUILD_CFLAGS += $(call cc-option,-funit-at-a-time)
18 +
19 +# disable compile-time buffer checks, enabled by default on Ubuntu 8.10
20 +# and later
21 +KBUILD_CFLAGS += $(call cc-option,-U_FORTIFY_SOURCE)
This page took 0.046862 seconds and 5 git commands to generate.