]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to the set of -I options...
authorOlivier Hainque <hainque@adacore.com>
Thu, 8 Jun 2017 14:08:56 +0000 (14:08 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Thu, 8 Jun 2017 14:08:56 +0000 (14:08 +0000)
2017-06-08  Olivier Hainque  <hainque@adacore.com>

        * 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
libgcc/config/t-vxworks

index 8560804ed3779157688890d9b804e7b7f839687f..5d531d9cea63d4a0a9a6276291d16d7902f44697 100644 (file)
@@ -1,3 +1,9 @@
+2017-06-08  Olivier Hainque  <hainque@adacore.com>
+
+       * 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  <tony.reix@atos.net>
            Matthieu Sarter  <matthieu.sarter.external@atos.net>
            David Edelsohn  <dje.gcc@gmail.com>
index 7c9bac98059178f9bbfd05c6ca3bf3c8a7aa4bd2..d67e446b46dc0d91c9d64e8b8e94ae749b80ac86 100644 (file)
@@ -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`