File: 0002-honor-CPPFLAGS.patch

package info (click to toggle)
osspd 1.3.2-13.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 760 kB
  • sloc: ansic: 16,335; makefile: 271; sh: 83
file content (22 lines) | stat: -rw-r--r-- 517 bytes parent folder | download | duplicates (3)
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