This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)" \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]