summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-10-21 19:50:48 +0000
committerDaniel Jacobowitz <drow@false.org>2008-10-21 19:50:48 +0000
commitbe091327d3441b0c1b17a717c70b002b875362da (patch)
tree928aad25a001224de9d4cc2751b412a457394b63 /sim
parent5bc60cfb35beeb5e8cde48af666ce2a2b7164966 (diff)
downloadbinutils-be091327d3441b0c1b17a717c70b002b875362da.tar.gz
binutils-be091327d3441b0c1b17a717c70b002b875362da.tar.bz2
binutils-be091327d3441b0c1b17a717c70b002b875362da.zip
* Make-common.in (run$(EXEEXT)): Add LDFLAGS.
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/Make-common.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 5b8b192baad..9738895298e 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,7 @@
+2008-10-21 Julian Brown <julian@codesourcery.com>
+
+ * Make-common.in (run$(EXEEXT)): Add LDFLAGS.
+
2008-07-11 Hans-Peter Nilsson <hp@axis.com>
* common.m4: Add test for libz and zlib.h.
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index e516583bc6e..bcadfc17922 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -260,7 +260,7 @@ libsim.a: $(LIB_OBJS)
$(RANLIB) libsim.a
run$(EXEEXT): $(SIM_RUN_OBJS) libsim.a $(LIBDEPS)
- $(CC) $(ALL_CFLAGS) -o run$(EXEEXT) \
+ $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o run$(EXEEXT) \
$(SIM_RUN_OBJS) libsim.a $(EXTRA_LIBS)
run.o: $(srccom)/run.c config.h tconfig.h $(remote_sim_h) $(callback_h)