Package: osspd / 1.3.2-6

0002-honor-CPPFLAGS.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Ralf Jung <post@ralfj.de>
Date: Sat, 15 Sep 2012 13:36:23 +0200
Subject: honor CPPFLAGS

Forwarded: Committed upstream as 3a9a0196
---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 8111c9b..8d8fe87 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 # DESTDIR is completely respected
 CC := gcc
 AR := ar
-CFLAGS := -Wall $(CFLAGS)
+CFLAGS := -Wall $(CFLAGS) $(CPPFLAGS)
 XLDFLAGS := $(LDFLAGS)
 LDFLAGS := -L. -lossp $(LDFLAGS)
 prefix := /usr/local