File: use-ldflags.diff

package info (click to toggle)
libiberty 20251212-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 8,936 kB
  • sloc: ansic: 93,832; sh: 4,451; cpp: 1,678; makefile: 1,666; 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: