summaryrefslogtreecommitdiff
path: root/net-dns/mdns-repeater/files/mdns-repeater-1.11-system-compiler-options.patch
blob: 35eaa3675283426c4b159338f8975ffa569f517d (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
28
29
30
31
32
33
From 4d4f022eef0d0d14936288a5f6374c7a4b85c77c Mon Sep 17 00:00:00 2001
From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com>
Date: Sun, 23 Aug 2020 04:06:15 +0300
Subject: [PATCH] Respect system CFLAGS and LDFLAGS

---
 Makefile | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/Makefile b/Makefile
index a04f707..ae4fe32 100644
--- a/Makefile
+++ b/Makefile
@@ -9,15 +9,7 @@ ZIP_FILES = mdns-repeater	\
 
 HGVERSION=$(shell hg parents --template "{latesttag}.{latesttagdistance}")
 
-CFLAGS=-Wall
-
-ifdef DEBUG
-CFLAGS+= -g
-else
-CFLAGS+= -Os
-LDFLAGS+= -s
-endif
-
+CFLAGS+=-Wall
 CFLAGS+= -DHGVERSION="\"${HGVERSION}\""
 
 .PHONY: all clean
-- 
2.26.2