/[linux-patches]/hardened/2.6/trunk/2.6.23/4455_grsec-2.1.10-mute-warnings.patch
Gentoo

Contents of /hardened/2.6/trunk/2.6.23/4455_grsec-2.1.10-mute-warnings.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1157 - (show annotations) (download)
Fri Oct 12 23:22:36 2007 UTC (6 years, 9 months ago) by phreak
File size: 863 byte(s)
Initial patchset for 2.6.23.
1 From: Alexander Gabert <gaberta@fh-trier.de>
2
3 This patch removes the warnings introduced by grsec patch 2.1.9 and later.
4 It removes the -W options added by the patch and restores the original
5 warning flags of vanilla kernel versions.
6
7 Acked-by: Christian Heim <phreak@gentoo.org>
8
9 ---
10 Makefile | 5 +++--
11 1 file changed, 3 insertions(+), 2 deletions(-)
12
13 --- a/Makefile
14 +++ b/Makefile
15 @@ -312,8 +312,9 @@ LINUXINCLUDE := -Iinclude \
16
17 CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE)
18
19 -CFLAGS := -Wall -W -Wno-unused -Wno-sign-compare -Wundef -Wstrict-prototypes -Wno-trigraphs \
20 - -fno-strict-aliasing -fno-common
21 +CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
22 + -fno-strict-aliasing -fno-common
23 +
24 AFLAGS := -D__ASSEMBLY__
25
26 # Read KERNELRELEASE from include/config/kernel.release (if it exists)

  ViewVC Help
Powered by ViewVC 1.1.20