summaryrefslogtreecommitdiffstats
path: root/make/custom
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-01-23 17:45:05 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-01-23 17:45:05 +0000
commit2936b425fd89f68302a0cb6094c8370795668872 (patch)
tree48b8c187a4bf8586782a18e8510dad03cf511198 /make/custom
parentCleaned up a bit. (diff)
downloadrtems-2936b425fd89f68302a0cb6094c8370795668872.tar.bz2
Solaris port updates from Chris Johns
Diffstat (limited to 'make/custom')
-rw-r--r--make/custom/Solaris-posix.cfg12
1 files changed, 11 insertions, 1 deletions
diff --git a/make/custom/Solaris-posix.cfg b/make/custom/Solaris-posix.cfg
index af8d0c1cfe..aeee569900 100644
--- a/make/custom/Solaris-posix.cfg
+++ b/make/custom/Solaris-posix.cfg
@@ -41,11 +41,21 @@ CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-solaris2.cfg
# Use the LIBC support for CYGNUS newlib
# RTEMS_LIBC_DIR must already be set (by module file)
-RTEMS_USE_NEWLIB=yes
+RTEMS_USE_NEWLIB=no
+
+LIBC_LIBM=-lm
# Define this to yes if C++ is included in the development environment
# This requires that at least the GNU C++ compiler and libg++ be installed.
+ifeq ($(RTEMS_HAS_CPLUSPLUS),yes)
+HAS_CPLUSPLUS=yes
+# no standard C++ libs provided by default
+LIBCC_INCLUDE=$(GNUTOOLS)/include/g++
+CPLUS_LD_LIBS=-lstdc++
+CPLUS_LD_LIBS=$(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA)
+else
HAS_CPLUSPLUS=no
+endif
# Define this to yes if this target supports multiprocessor environments.
HAS_MP=yes