File: use-ldflags.diff

package info (click to toggle)
libiberty 20190122-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 8,092 kB
  • sloc: ansic: 80,451; sh: 3,776; cpp: 1,686; makefile: 1,586; perl: 302
file content (13 lines) | stat: -rw-r--r-- 561 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: b/libiberty/Makefile.in
===================================================================
--- a/libiberty/Makefile.in
+++ b/libiberty/Makefile.in
@@ -416,7 +416,7 @@ etags tags TAGS: etags-subdir
 demangle: $(ALL) $(srcdir)/cp-demangle.c
 	@echo "The standalone demangler, now named c++filt, is now"
 	@echo "a part of binutils."
-	$(CC) @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) \
+	$(CC) @DEFS@ $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -I. -I$(INCDIR) $(HDEFINES) \
 	  $(srcdir)/cp-demangle.c -DSTANDALONE_DEMANGLER $(TARGETLIB) -o $@
 
 ls: