File: set_buildflags

package info (click to toggle)
iputils 3%3A20161105-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,060 kB
  • ctags: 1,282
  • sloc: ansic: 11,706; perl: 585; makefile: 344; sh: 277
file content (16 lines) | stat: -rw-r--r-- 550 bytes parent folder | 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
@@ -138,7 +138,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