OSDN Git Service

* Makefile.in (LDFLAGS): Allow the configure script to establish a
authorjimb <jimb>
Tue, 20 Aug 2002 21:32:17 +0000 (21:32 +0000)
committerjimb <jimb>
Tue, 20 Aug 2002 21:32:17 +0000 (21:32 +0000)
default for this.
* gdbserver/Makefile.in (LDFLAGS): Same.

gdb/ChangeLog
gdb/Makefile.in
gdb/gdbserver/Makefile.in

index a5163ab..c8ec523 100644 (file)
@@ -1,3 +1,9 @@
+2002-08-20  Jim Blandy  <jimb@redhat.com>
+
+       * Makefile.in (LDFLAGS): Allow the configure script to establish a
+       default for this.
+       * gdbserver/Makefile.in (LDFLAGS): Same.
+
 2002-08-20  Keith Seitz  <keiths@redhat.com>
 
        * breakpoints.c (watch_command_1): Use internal breakpoint
index f079a8d..b039314 100644 (file)
@@ -346,6 +346,7 @@ INTERNAL_CFLAGS = $(INTERNAL_WARN_CFLAGS) $(GDB_WERROR_CFLAGS)
 
 # LDFLAGS is specifically reserved for setting from the command line
 # when running make.
+LDFLAGS = @LDFLAGS@
 
 # Profiling options need to go here to work.
 # I think it's perfectly reasonable for a user to set -pg in CFLAGS
index ae77ec9..46168d6 100644 (file)
@@ -102,6 +102,7 @@ INTERNAL_CFLAGS =  $(WARN_CFLAGS) ${CFLAGS} ${GLOBAL_CFLAGS} \
 
 # LDFLAGS is specifically reserved for setting from the command line
 # when running make.
+LDFLAGS = @LDFLAGS@
 
 # Perhaps should come from parent Makefile
 VERSION = gdbserver-4.12.3