From 59aea5d59244ad757e822dff4af958b944e1f5d3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 24 Jul 2007 15:46:01 +0000 Subject: 2007-07-24 Joel Sherrill * custom/Linux-posix.cfg: Linux BSP must be linked with C++ compiler. --- make/ChangeLog | 4 ++++ make/custom/Linux-posix.cfg | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/make/ChangeLog b/make/ChangeLog index 3c3c373c42..9ccc9ad8c1 100644 --- a/make/ChangeLog +++ b/make/ChangeLog @@ -1,3 +1,7 @@ +2007-07-24 Joel Sherrill + + * custom/Linux-posix.cfg: Linux BSP must be linked with C++ compiler. + 2007-07-11 Joel Sherrill * custom/gen83xx.cfg: Add make-cxx-exe rule. diff --git a/make/custom/Linux-posix.cfg b/make/custom/Linux-posix.cfg index 7356c3e60a..4a11024832 100644 --- a/make/custom/Linux-posix.cfg +++ b/make/custom/Linux-posix.cfg @@ -22,7 +22,7 @@ CPU_CFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE CFLAGS_OPTIMIZE_V = -O0 -g define make-exe - $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS) + $(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS) $(NM) -g -n $@ > $(basename $@).num $(SIZE) $@ endef -- cgit v1.2.3