summaryrefslogtreecommitdiff
path: root/textproc/rman/patches/patch-Makefile
blob: 145348de7e77a76ba95f5b811467db083b627104 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-Makefile,v 1.1 2019/10/16 16:30:18 micha Exp $

Honor CPPFLAGS and LDFLAGS.

--- Makefile.orig	2003-07-26 19:15:00.000000000 +0000
+++ Makefile
@@ -102,7 +102,7 @@ all:  rman
 
 # everyone but me zaps assertions with the -DNDEBUG flag
 rman: rman.c Makefile
-	$(CC) -DNDEBUG $(defs) -DPOLYGLOTMANVERSION=\"$(version)\" $(CFLAGS) -o rman rman.c
+	$(CC) -DNDEBUG $(defs) -DPOLYGLOTMANVERSION=\"$(version)\" $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o rman rman.c
 
 
 debug: