summaryrefslogtreecommitdiffstats
path: root/make/custom/FreeBSD-posix.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/FreeBSD-posix.cfg')
-rw-r--r--make/custom/FreeBSD-posix.cfg15
1 files changed, 1 insertions, 14 deletions
diff --git a/make/custom/FreeBSD-posix.cfg b/make/custom/FreeBSD-posix.cfg
index f48b2ecc49..326c0078f2 100644
--- a/make/custom/FreeBSD-posix.cfg
+++ b/make/custom/FreeBSD-posix.cfg
@@ -34,11 +34,7 @@ LIBC_DEFINES += -DHEAPSPACE_MB=1
# This requires that at least the GNU C++ compiler and libg++ be installed.
ifeq ($(RTEMS_HAS_CPLUSPLUS),yes)
HAS_CPLUSPLUS=yes
-# No need to set it, gcc knows about them
-# LIBCC_INCLUDE=/usr/include/g++
CPLUS_LD_LIBS += $(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA)
-else
-HAS_CPLUSPLUS=no
endif
# Define this to yes if this target supports multiprocessor environments.
@@ -80,21 +76,12 @@ define make-target-options
echo "#define RTEMS_UNIX 1 " >>$@
endef
-ifeq ($(RTEMS_USE_GCC272),yes)
define make-exe
- $(CC) -o $@ $(LINK_FILES) $(LD_LIBS) $(LIBC_LIBM) $(LIBC_LIBC)
+ $(CC) $(CFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
$(NM) -ng $@ > $(basename $@).num
$(SIZE) $@
endef
-else
-#
-# gcc28 not yet supported
-#
-endif
# *****************************************************************
# Miscellaneous additions go here
-
-# Workaround for missing ranlib support in RTEMS
-MKLIB=$(AR) s $(@) ; echo library is complete: