From 14ee224c001d2afd925f2bfb0fd984f09b08b709 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 24 Jul 2007 20:50:35 +0000 Subject: 2007-07-24 Joel Sherrill * custom/Linux-posix.cfg: Make Linux link with just a C main -- avoid using C++ ctor trick. An RTEMS C++ application running on this BSP may have initialization order issues to address. --- make/custom/Linux-posix.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make/custom/Linux-posix.cfg') diff --git a/make/custom/Linux-posix.cfg b/make/custom/Linux-posix.cfg index 4a11024832..7356c3e60a 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.cc) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS) + $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS) $(NM) -g -n $@ > $(basename $@).num $(SIZE) $@ endef -- cgit v1.2.3