aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2002-08-20 21:32:18 +0000
committerJim Blandy <jimb@codesourcery.com>2002-08-20 21:32:18 +0000
commit697f7479bbe7c27def5b0f3b5cc06143bb5c88ab (patch)
tree327ae0af2f88502d0a5552a00b37cb78012be862
parente86ae29ff5cf6686591618b56319f0d98ba00e1b (diff)
downloadgdb-697f7479bbe7c27def5b0f3b5cc06143bb5c88ab.zip
gdb-697f7479bbe7c27def5b0f3b5cc06143bb5c88ab.tar.gz
gdb-697f7479bbe7c27def5b0f3b5cc06143bb5c88ab.tar.bz2
* Makefile.in (LDFLAGS): Allow the configure script to establish a
default for this. * gdbserver/Makefile.in (LDFLAGS): Same.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/Makefile.in1
-rw-r--r--gdb/gdbserver/Makefile.in1
3 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a5163ab7..c8ec523 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index f079a8d..b039314 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -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
diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
index ae77ec9..46168d6 100644
--- a/gdb/gdbserver/Makefile.in
+++ b/gdb/gdbserver/Makefile.in
@@ -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