From 697f7479bbe7c27def5b0f3b5cc06143bb5c88ab Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Tue, 20 Aug 2002 21:32:18 +0000 Subject: [PATCH] * Makefile.in (LDFLAGS): Allow the configure script to establish a default for this. * gdbserver/Makefile.in (LDFLAGS): Same. --- gdb/ChangeLog | 6 ++++++ gdb/Makefile.in | 1 + gdb/gdbserver/Makefile.in | 1 + 3 files changed, 8 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a5163ab78e..c8ec5237b2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2002-08-20 Jim Blandy + + * Makefile.in (LDFLAGS): Allow the configure script to establish a + default for this. + * gdbserver/Makefile.in (LDFLAGS): Same. + 2002-08-20 Keith Seitz * breakpoints.c (watch_command_1): Use internal breakpoint diff --git a/gdb/Makefile.in b/gdb/Makefile.in index f079a8d344..b039314e4f 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 ae77ec9003..46168d6162 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