summaryrefslogtreecommitdiff
blob: 90d934d0fa1fb979424701f01db160bbc0024402 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From: Jory A. Pratt <anarchy@gentoo.org>
Updated patch for kernel 2.6.32

The credits/description from the original version of this patch remain accurate
and are included below.

---
From: Gordon Malm <gengor@gentoo.org>

Updated patch for kernel series 2.6.24.

The credits/description from the original version of this patch remain accurate
and are included below.

---
From: Alexander Gabert <gaberta@fh-trier.de>

This patch removes the warnings introduced by grsec patch 2.1.9 and later.
It removes the -W options added by the patch and restores the original
warning flags of vanilla kernel versions.

Acked-by: Christian Heim <phreak@gentoo.org>
---

--- a/Makefile	2009-07-29 05:34:01.695857499 +0100
+++ b/Makefile	2009-07-29 05:58:15.098857201 +0100
@@ -221,7 +221,7 @@
 
 HOSTCC       = gcc
 HOSTCXX      = g++
-HOSTCFLAGS   = -Wall -W -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-delete-null-pointer-checks
+HOSTCFLAGS   = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-delete-null-pointer-checks
 HOSTCXXFLAGS = -O2 -fno-delete-null-pointer-checks
 
 # Decide whether to build built-in, modular, or both.