summaryrefslogtreecommitdiff
blob: a6727544eca58d80766c20ee6addc19197eda2af (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
From: Nathan Phillip Brink <binki@gentoo.org>
Subject: [PATCH] Respect CPPFLAGS.

--- a/Makefile.in
+++ b/Makefile.in
@@ -68,7 +68,7 @@
 IRCDOC = ${IRCSHARE}/doc
 
 CC = @CC@
-DEFS = @DEFS@
+DEFS = @DEFS@ @CPPFLAGS@
 LIBS = @LIBS@
 
 # Set this to -g if you want to be able to debug the client, otherwise

--- a/source/Makefile.in
+++ b/source/Makefile.in
@@ -11,7 +11,7 @@
 LDFLAGS	= @LDFLAGS@
 LEX	= @LEX@
 LEXLIB	= @LEXLIB@
-DEFS	= @DEFS@
+DEFS	= @DEFS@ @CPPFLAGS@
 LN	= @LN@
 RM	= @RM@