/[linux-patches]/genpatches-2.6/trunk/2.6.30/2900_makefile-no-delete-null-pointer-checks-fix.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.30/2900_makefile-no-delete-null-pointer-checks-fix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1589 - (show annotations) (download)
Mon Jul 20 20:03:14 2009 UTC (8 years, 7 months ago) by mpagano
File size: 898 byte(s)
Linux patch 2.6.30.2 and removal of redundant patches
1 --- a/Makefile 2009-07-20 15:03:31.000000000 -0400
2 +++ b/Makefile 2009-07-20 15:03:10.000000000 -0400
3 @@ -351,7 +351,8 @@ KBUILD_CPPFLAGS := -D__KERNEL__
4
5 KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
6 -fno-strict-aliasing -fno-common \
7 - -Werror-implicit-function-declaration
8 + -Werror-implicit-function-declaration \
9 + -fno-delete-null-pointer-checks
10 KBUILD_AFLAGS := -D__ASSEMBLY__
11
12 # Read KERNELRELEASE from include/config/kernel.release (if it exists)
13 @@ -573,7 +574,7 @@ KBUILD_CFLAGS += $(call cc-option,-Wdecl
14 KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,)
15
16 # disable invalid "can't wrap" optimizations for signed / pointers
17 -KBUILD_CFLAGS += $(call cc-option,-fwrapv)
18 +KBUILD_CFLAGS += $(call cc-option,-fno-strict-overflow)
19
20 # revert to pre-gcc-4.4 behaviour of .eh_frame
21 KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm)

  ViewVC Help
Powered by ViewVC 1.1.20