aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/fix-autoreconf.patch
blob: 927a0473d6138f3351140ea78beb5b83984e9ba8 (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
From: Andreas Henriksson <andreas@fatal.se>
Date: Thu, 8 Nov 2018 19:09:21 +0100
Subject: fix-autoreconf.patch

Do not override user variables in Makefile.am, see the
"Flag Variables Ordering" section of the automake manual.
---
 doc/specs/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/specs/Makefile.am b/doc/specs/Makefile.am
index 58e14b3..2ebd980 100644
--- a/doc/specs/Makefile.am
+++ b/doc/specs/Makefile.am
@@ -12,9 +12,9 @@ draft-morgan-pam-current.txt: padout draft-morgan-pam.raw
 AM_YFLAGS = -d
 
 CC = @CC_FOR_BUILD@
-CPPFLAGS = @BUILD_CPPFLAGS@
-CFLAGS = @BUILD_CFLAGS@
-LDFLAGS = @BUILD_LDFLAGS@
+AM_CPPFLAGS = @BUILD_CPPFLAGS@
+AM_CFLAGS = @BUILD_CFLAGS@
+AM_LDFLAGS = @BUILD_LDFLAGS@
 
 padout_CFLAGS = $(WARN_CFLAGS) -Wno-unused-function -Wno-sign-compare