[Go] Fixes so that the go_subdir_import test will work with gccgo.

This commit is contained in:
Ian Lance Taylor 2015-02-22 11:01:24 -08:00
commit 40f5b1ecc6
3 changed files with 14 additions and 7 deletions

View file

@ -79,6 +79,9 @@ go_subdir_import.multicpptest:
TARGET="$(TARGETPREFIX)$${f}$(TARGETSUFFIX)" INTERFACEDIR="$(INTERFACEDIR)" INTERFACE="$$f.i" \
$(LANGUAGE)$(VARIANT)_cpp; \
done
if $(GOGCC); then \
cp testdir/go_subdir_import/*.@OBJEXT@ .; \
fi
$(run_multi_testcase)
# Runs the testcase.