From 1ac644c8d04230fd1be85de1b102a819c11c87bd Mon Sep 17 00:00:00 2001 From: Olivier Hainque Date: Thu, 8 Jun 2017 14:08:56 +0000 Subject: [PATCH] t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to the set of -I options... 2017-06-08 Olivier Hainque * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to the set of -I options, support for direct inclusions of net/uio.h by VxWorks header files via ioLib.h. From-SVN: r249016 --- libgcc/ChangeLog | 6 ++++++ libgcc/config/t-vxworks | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 8560804ed37..5d531d9cea6 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2017-06-08 Olivier Hainque + + * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to + the set of -I options, support for direct inclusions of net/uio.h + by VxWorks header files via ioLib.h. + 2017-06-07 Tony Reix Matthieu Sarter David Edelsohn diff --git a/libgcc/config/t-vxworks b/libgcc/config/t-vxworks index 7c9bac98059..d67e446b46d 100644 --- a/libgcc/config/t-vxworks +++ b/libgcc/config/t-vxworks @@ -7,8 +7,8 @@ LIB2ADD = $(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 \ +LIBGCC2_INCLUDES = -nostdinc \ `case "/$(MULTIDIR)" in \ - */mrtp*) echo $(WIND_USR)/h ;; \ - *) echo $(WIND_BASE)/target/h ;; \ + */mrtp*) echo -I$(WIND_USR)/h -I$(WIND_USR)/h/wrn/coreip ;; \ + *) echo -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip ;; \ esac` -- 2.30.2