PATCH: Add LDFLAGS to FLAGS_TO_PASS
Daniel Jacobowitz
drow@mvista.com
Wed Mar 5 18:08:00 GMT 2003
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@mvista.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)" \
More information about the Gdb-patches
mailing list