Package: iputils / 3:20180629-2+deb10u1

set_buildflags Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Pass the DEBIAN_LDFLAGS environment variable to the linker
Origin: vendor
Author: Noah Meyerhans <noahm@debian.org>
Index: iputils/Makefile
===================================================================
--- iputils.orig/Makefile
+++ iputils/Makefile
@@ -136,7 +136,7 @@ all: $(TARGETS)
 	$(COMPILE.c) $< $(DEF_$(patsubst %.o,%,$@)) -o $@
 LINK.o += $(CFLAGS)
 $(TARGETS): %: %.o
-	$(LINK.o) $^ $(LIB_$@) $(LDLIBS) -o $@
+	$(LINK.o) $^ $(DEBIAN_LDFLAGS) $(LIB_$@) $(LDLIBS) -o $@
 
 # -------------------------------------
 # arping