This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
PATCH: Add LDFLAGS to FLAGS_TO_PASS
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 5 Mar 2003 13:08:12 -0500
- Subject: PATCH: Add LDFLAGS to FLAGS_TO_PASS
Noticed this yesterday; I was building a static gdbserver with "make
LDFLAGS=-static", and it wasn't being staticly linked. I think this broke
when "LDFLAGS = @LDFLAGS@" was (correctly) added to gdbserver/Makefile;
easily fixed thus.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
2003-03-05 Daniel Jacobowitz <drow at mvista dot com>
* Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.340
diff -u -p -r1.340 Makefile.in
--- Makefile.in 5 Mar 2003 18:01:46 -0000 1.340
+++ Makefile.in 5 Mar 2003 18:06:54 -0000
@@ -435,6 +435,7 @@ FLAGS_TO_PASS = \
"CXX=$(CXX)" \
"CXXFLAGS=$(CXXFLAGS)" \
"DLLTOOL=$(DLLTOOL)" \
+ "LDFLAGS=$(LDFLAGS)" \
"RANLIB=$(RANLIB)" \
"MAKEINFO=$(MAKEINFO)" \
"MAKEHTML=$(MAKEHTML)" \