summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/ChangeLog1
-rw-r--r--make/custom/mcf5235.cfg4
2 files changed, 3 insertions, 2 deletions
diff --git a/make/ChangeLog b/make/ChangeLog
index 9f676a71da..aad6908482 100644
--- a/make/ChangeLog
+++ b/make/ChangeLog
@@ -1,5 +1,6 @@
2007-08-05 Ralf Corsépius <ralf.corsepius@rtems.org>
+ * custom/mcf5235.cfg: Remove bogus -m5200 from linker calls.
* custom/av5282.cfg: Remove bogus -qnolinkcmds, -m5200 from linker
calls.
* custom/gen83xx.cfg: Use -O2.
diff --git a/make/custom/mcf5235.cfg b/make/custom/mcf5235.cfg
index f3539837ae..d1532f0643 100644
--- a/make/custom/mcf5235.cfg
+++ b/make/custom/mcf5235.cfg
@@ -33,13 +33,13 @@ endif
# is currently required.
define make-exe
- $(LINK.c) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) \
+ $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
$(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
$(SIZE) $(basename $@).nxe
endef
define make-cxx-exe
- $(LINK.cc) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) \
+ $(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
$(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
$(SIZE) $(basename $@).nxe