This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] vxworks multilib typo


Andreas Tobler wrote:
Hello all,

the below patch fixes a typo.
I think it is correct since I did not find a MULTIDIR in the whole gcc tree.
Also, I tested it while building a cross sparc i586-wrs-vxworks compiler. Without this patch it does not find the system headers.


Is this ok for trunk or should I wait?

I did not wait. Ian gave me an ack and I committed to trunk.


Thanks,
Andreas


Thanks, Andreas

2009-01-22 Andreas Tobler <a.tobler@schweiz.org>

* config/t-vxworks (LIBGCC2_INCLUDES): Fix typo.

Index: config/t-vxworks
===================================================================
--- config/t-vxworks    (revision 143574)
+++ config/t-vxworks    (working copy)
@@ -22,7 +22,7 @@
 # VxWorks system headers have names that collide with GCC's
 # internal (host) headers, e.g. regs.h.
 LIBGCC2_INCLUDES = -nostdinc -I \
-  `case "/$$(MULTIDIR)" in \
+  `case "/$$(MULTIDIRS)" in \
      */mrtp*) echo $(WIND_USR)/h ;; \
      *) echo $(WIND_BASE)/target/h ;; \
    esac`




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]