File: use-ldflags.diff

package info (click to toggle)
libiberty 20141014-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 7,576 kB
  • ctags: 27,684
  • sloc: ansic: 79,687; sh: 3,310; makefile: 1,515; cpp: 1,027; perl: 302
file content (13 lines) | stat: -rw-r--r-- 547 bytes parent folder | download
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
@@ -415,7 +415,7 @@ TAGS: $(CFILES)
 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: