summaryrefslogtreecommitdiff
path: root/debian/patches/01_dont_overwrite_cflags.diff
blob: 2626c6a61d4596b83789204e5608c16ec2dddf2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Guillaume Delacour <gui@iroqwa.org>
Date: Mon, 15 Jul 2019 14:49:56 +0200
Subject: Don't overwrite dpkg-buildflags CFLAGS

Bug-Debian: https://bugs.debian.org/763180
Last-Update: 2014-09-28
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index e52eeb7..2ecb3b5 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ CDEBUGFLAGS = -Os -g -Wall
 
 DEFINES = $(PLATFORM_DEFINES)
 
-CFLAGS = $(CDEBUGFLAGS) $(DEFINES) $(EXTRA_DEFINES)
+CFLAGS += $(CDEBUGFLAGS) $(DEFINES) $(EXTRA_DEFINES)
 
 SRCS = ahcpd.c monotonic.c transport.c prefix.c configure.c config.c lease.c