aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-03-08 00:35:03 -0500
committerMike Frysinger <vapier@gentoo.org>2021-03-13 11:21:13 -0500
commite7d9022ba8755005cae79207b5f911b1a9cebed4 (patch)
tree4583661a1178aa6ddbee99ad97d0b3c2e334e06d /sim/ppc
parentc6c7769d9dd166c45bd9d422e91ca537752c0382 (diff)
downloadgdb-e7d9022ba8755005cae79207b5f911b1a9cebed4.zip
gdb-e7d9022ba8755005cae79207b5f911b1a9cebed4.tar.gz
gdb-e7d9022ba8755005cae79207b5f911b1a9cebed4.tar.bz2
sim: rename BUILD_LDFLAGS to LDFLAGS_FOR_BUILD
The rest of the binutils tree renamed this variable many years ago.
Diffstat (limited to 'sim/ppc')
-rw-r--r--sim/ppc/ChangeLog6
-rw-r--r--sim/ppc/Makefile.in4
2 files changed, 8 insertions, 2 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index 61bb3d9..16b3ab7 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,5 +1,11 @@
2021-03-13 Mike Frysinger <vapier@gentoo.org>
+ * Makefile.in (BUILD_LDFLAGS): Rename to ...
+ (LDFLAGS_FOR_BUILD): ... this.
+ (LINK_FOR_BUILD): Change BUILD_LDFLAGS to LDFLAGS_FOR_BUILD.
+
+2021-03-13 Mike Frysinger <vapier@gentoo.org>
+
* Makefile.in (COMPILE_FOR_BUILD, LINK_FOR_BUILD): Define.
Change $(CC_FOR_BUILD) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) to
$(LINK_FOR_BUILD). Change $(CC_FOR_BUILD) $(BUILD_CFLAGS) to
diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in
index 8c58635..ae99dc3 100644
--- a/sim/ppc/Makefile.in
+++ b/sim/ppc/Makefile.in
@@ -107,11 +107,11 @@ STD_CFLAGS = $(CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(WARNING_CFLAGS) $(INC
NOWARN_CFLAGS = $(CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(INCLUDES) $(SIM_FPU_CFLAGS)
BUILD_CFLAGS = $(CFLAGS_FOR_BUILD) $(INCLUDES) $(WARNING_CFLAGS)
-BUILD_LDFLAGS =
+LDFLAGS_FOR_BUILD =
LIBS = @LIBS@
COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(BUILD_CFLAGS)
-LINK_FOR_BUILD = $(CC_FOR_BUILD) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) -o $@
+LINK_FOR_BUILD = $(CC_FOR_BUILD) $(BUILD_CFLAGS) $(LDFLAGS_FOR_BUILD) -o $@
CONFIG_FILE = @sim_config@
IGEN_OPCODE_RULES = @sim_opcode@