From ca12f1ca1f2ca396820debfcbb61fdb49639943d Mon Sep 17 00:00:00 2001 From: Olivier Hainque Date: Mon, 3 Jul 2017 20:27:58 +0000 Subject: [PATCH] t-vxworks7: New file. 2017-06-27 Olivier Hainque * config/t-vxworks7: New file. New file mistakenly omitted from previous commit referencing it. From-SVN: r249938 --- libgcc/config/t-vxworks7 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 libgcc/config/t-vxworks7 diff --git a/libgcc/config/t-vxworks7 b/libgcc/config/t-vxworks7 new file mode 100644 index 00000000000..77591cd642c --- /dev/null +++ b/libgcc/config/t-vxworks7 @@ -0,0 +1,16 @@ +# Don't build libgcc.a with debug info +LIBGCC2_DEBUG_CFLAGS = + +# Extra libgcc2 modules used by gthr-vxworks.h functions +LIB2ADDEH += $(srcdir)/config/vxlib.c $(srcdir)/config/vxlib-tls.c + +# 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. +LIBGCC2_INCLUDES = -nostdinc \ + -I$(VSB_DIR)/h -I$(VSB_DIR)/share/h \ + `case "/$(MULTIDIR)" in \ + */mrtp*) echo -I$(VSB_DIR)/usr/h/public -I$(VSB_DIR)/usr/h ;; \ + *) echo -I$(VSB_DIR)/krnl/h/system -I$(VSB_DIR)/krnl/h/public ;; \ + esac` + -- 2.30.2