/[linux-patches]/hardened/2.6/trunk/2.6.19/4451_grsec-2.1.9-2.6.18.2-mute-warnings.patch
Gentoo

Contents of /hardened/2.6/trunk/2.6.19/4451_grsec-2.1.9-2.6.18.2-mute-warnings.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 748 - (show annotations) (download)
Sun Dec 10 11:48:43 2006 UTC (7 years, 9 months ago) by phreak
File size: 910 byte(s)
Starting 2.6.19.
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 Index: linux-2.6.18/Makefile
10 ===================================================================
11 --- linux-2.6.18.orig/Makefile
12 +++ linux-2.6.18/Makefile
13 @@ -307,8 +307,9 @@ LINUXINCLUDE := -Iinclude \
14
15 CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE)
16
17 -CFLAGS := -Wall -W -Wno-unused -Wno-sign-compare -Wundef -Wstrict-prototypes -Wno-trigraphs \
18 - -fno-strict-aliasing -fno-common
19 +CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
20 + -fno-strict-aliasing -fno-common
21 +
22 AFLAGS := -D__ASSEMBLY__
23
24 # Read KERNELRELEASE from include/config/kernel.release (if it exists)

  ViewVC Help
Powered by ViewVC 1.1.20