From eec7c441d7cd393c69824c9df2fa40ec2278c0df Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 1 Aug 2007 00:49:03 +0000 Subject: 2007-07-31 Joel Sherrill * Makefile.am, preinstall.am: You need main() to link all applications. There is no C++ specific way to link currently. --- c/src/lib/libbsp/unix/posix/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'c/src/lib/libbsp/unix/posix/Makefile.am') diff --git a/c/src/lib/libbsp/unix/posix/Makefile.am b/c/src/lib/libbsp/unix/posix/Makefile.am index cbb74644de..436a1f4565 100644 --- a/c/src/lib/libbsp/unix/posix/Makefile.am +++ b/c/src/lib/libbsp/unix/posix/Makefile.am @@ -42,9 +42,10 @@ noinst_LIBRARIES = noinst_PROGRAMS += startup.rel startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \ startup/bspstart.c startup/setvec.c ../../shared/bootcard.c -if !HAS_CXX +## for now always using main.c style startup +##if !HAS_CXX startup_rel_SOURCES += startup/main.c -endif +##endif startup_rel_CPPFLAGS = $(AM_CPPFLAGS) startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) -- cgit v1.2.3