OSDN Git Service

PR bootstrap/46812
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Dec 2010 22:17:25 +0000 (22:17 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Dec 2010 22:17:25 +0000 (22:17 +0000)
Add explicit -I . when building libgo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167668 138bc75d-0d04-0410-961f-82ee72b054a4

libgo/Makefile.am
libgo/Makefile.in

index 5064862..46165df 100644 (file)
@@ -1291,7 +1291,7 @@ BUILDARCHIVE = \
        test -d $(@D) || $(MKDIR_P) $(@D); \
        rm -f $@; \
        files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
-       if $(LTGOCOMPILE) -c -fgo-prefix="libgo_$(@D)" -o $@.$(OBJEXT) $$files; then \
+       if $(LTGOCOMPILE) -I . -c -fgo-prefix="libgo_$(@D)" -o $@.$(OBJEXT) $$files; then \
          $(AR) rc $@ $@.$(OBJEXT); \
        else exit 1; fi
 
index 3e52737..ec0f3e2 100644 (file)
@@ -1586,7 +1586,7 @@ BUILDARCHIVE = \
        test -d $(@D) || $(MKDIR_P) $(@D); \
        rm -f $@; \
        files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
-       if $(LTGOCOMPILE) -c -fgo-prefix="libgo_$(@D)" -o $@.$(OBJEXT) $$files; then \
+       if $(LTGOCOMPILE) -I . -c -fgo-prefix="libgo_$(@D)" -o $@.$(OBJEXT) $$files; then \
          $(AR) rc $@ $@.$(OBJEXT); \
        else exit 1; fi