summaryrefslogtreecommitdiff
path: root/net-dns/mdns-repeater/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-23 10:22:15 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-23 10:22:15 +0100
commit8b4ace9c50842c5b83401ea7b179dcab940387e1 (patch)
tree230f3135ceaace633cf93e9838b185c4a6664c2e /net-dns/mdns-repeater/files
parent9ee6d97c2883d42f204a533a8bc1f4562df778fb (diff)
gentoo resync : 23.09.2020
Diffstat (limited to 'net-dns/mdns-repeater/files')
-rw-r--r--net-dns/mdns-repeater/files/mdns-repeater-1.11-system-compiler-options.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/net-dns/mdns-repeater/files/mdns-repeater-1.11-system-compiler-options.patch b/net-dns/mdns-repeater/files/mdns-repeater-1.11-system-compiler-options.patch
new file mode 100644
index 000000000000..35eaa3675283
--- /dev/null
+++ b/net-dns/mdns-repeater/files/mdns-repeater-1.11-system-compiler-options.patch
@@ -0,0 +1,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
+