aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/t-vxworks
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/t-vxworks')
-rw-r--r--gcc/config/t-vxworks11
1 files changed, 8 insertions, 3 deletions
diff --git a/gcc/config/t-vxworks b/gcc/config/t-vxworks
index ebf47e1bcce..677b3b45443 100644
--- a/gcc/config/t-vxworks
+++ b/gcc/config/t-vxworks
@@ -1,8 +1,7 @@
-# Since we have a functional assert.h, use it.
-INSTALL_ASSERT_H =
+# Don't run fixproto.
+STMP_FIXPROTO =
# Build libgcc using the multilib mechanism
-
LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib
@@ -15,8 +14,14 @@ LIBGCC2_DEBUG_CFLAGS =
# Extra libgcc2 module used by gthr-vxworks.h functions
LIB2FUNCS_EXTRA = $(srcdir)/config/vxlib.c
+# Some runtime modules need these. Can't set extra_headers in config.gcc
+# because the paths are always made absolute to the cpu config dir.
+EXTRA_HEADERS += $(srcdir)/gthr-vxworks.h gthr-default.h
+
# This ensures that the correct target headers are used; some
# VxWorks system headers have names that collide with GCC's
# internal (host) headers, e.g. regs.h.
# FIXME: May not be necessary anymore.
LIBGCC2_INCLUDES="-I$(SYSTEM_HEADER_DIR)"
+
+EXTRA_MULTILIB_PARTS =