Commit 080eaf7a by Ian Lance Taylor Committed by Ian Lance Taylor

Makefile.am (check-gccgo, check-gcc): Add options to pick up target libstdc++,…

Makefile.am (check-gccgo, check-gcc): Add options to pick up target libstdc++, to permit tests that use C++.

	* Makefile.am (check-gccgo, check-gcc): Add options to pick up
	target libstdc++, to permit tests that use C++.
	* Makefile.in: Rebuild.

From-SVN: r257494
parent 9adab5dd
2018-02-08 Ian Lance Taylor <iant@golang.org>
* Makefile.am (check-gccgo, check-gcc): Add options to pick up
target libstdc++, to permit tests that use C++.
* Makefile.in: Rebuild.
2018-01-18 Ian Lance Taylor <iant@golang.org> 2018-01-18 Ian Lance Taylor <iant@golang.org>
* Makefile.am (GOTOOLS_TEST_TIMEOUT): Define. * Makefile.am (GOTOOLS_TEST_TIMEOUT): Define.
......
...@@ -179,22 +179,22 @@ check-head: ...@@ -179,22 +179,22 @@ check-head:
@echo >> gotools.head @echo >> gotools.head
# check-gccgo is a little shell script that executes gccgo with the # check-gccgo is a little shell script that executes gccgo with the
# options to pick up the newly built libgo. # options to pick up the newly built libgo and libstdc++.
check-gccgo: Makefile check-gccgo: Makefile
rm -f $@ $@.tmp rm -f $@ $@.tmp
echo "#!/bin/sh" > $@.tmp echo "#!/bin/sh" > $@.tmp
abs_libgodir=`cd $(libgodir) && $(PWD_COMMAND)`; \ abs_libgodir=`cd $(libgodir) && $(PWD_COMMAND)`; \
echo "$(GOCOMPILE)" '"$$@"' "-I $${abs_libgodir} -L $${abs_libgodir} -L $${abs_libgodir}/.libs" >> $@.tmp echo "$(GOCOMPILE)" '"$$@"' "-I $${abs_libgodir} -L $${abs_libgodir} -L $${abs_libgodir}/.libs -B$${abs_libgodir}/../libstdc++-v3/src/.libs -B$${abs_libgodir}/../libstdc++-v3/libsupc++/.libs" >> $@.tmp
chmod +x $@.tmp chmod +x $@.tmp
mv -f $@.tmp $@ mv -f $@.tmp $@
# check-gcc is a little shell script that executes the newly built gcc # check-gcc is a little shell script that executes the newly built gcc
# with the options to pick up the newly built libgo. # with the options to pick up the newly built libgo and libstdc++.
check-gcc: Makefile check-gcc: Makefile
rm -f $@ $@.tmp rm -f $@ $@.tmp
echo "#!/bin/sh" > $@.tmp echo "#!/bin/sh" > $@.tmp
abs_libgodir=`cd $(libgodir) && $(PWD_COMMAND)`; \ abs_libgodir=`cd $(libgodir) && $(PWD_COMMAND)`; \
echo "$(GCC_FOR_TARGET)" '"$$@"' "-L $${abs_libgodir} -L $${abs_libgodir}/.libs" >> $@.tmp echo "$(GCC_FOR_TARGET)" '"$$@"' "-L $${abs_libgodir} -L $${abs_libgodir}/.libs -B$${abs_libgodir}/../libstdc++-v3/src/.libs -B$${abs_libgodir}/../libstdc++-v3/libsupc++/.libs" >> $@.tmp
chmod +x $@.tmp chmod +x $@.tmp
mv -f $@.tmp $@ mv -f $@.tmp $@
......
...@@ -635,8 +635,8 @@ distclean-generic: ...@@ -635,8 +635,8 @@ distclean-generic:
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild." @echo "it deletes files that may require special tools to rebuild."
@NATIVE_FALSE@uninstall-local:
@NATIVE_FALSE@install-exec-local: @NATIVE_FALSE@install-exec-local:
@NATIVE_FALSE@uninstall-local:
clean: clean-am clean: clean-am
clean-am: clean-binPROGRAMS clean-generic clean-noinstPROGRAMS \ clean-am: clean-binPROGRAMS clean-generic clean-noinstPROGRAMS \
...@@ -784,22 +784,22 @@ mostlyclean-local: ...@@ -784,22 +784,22 @@ mostlyclean-local:
@NATIVE_TRUE@ @echo >> gotools.head @NATIVE_TRUE@ @echo >> gotools.head
# check-gccgo is a little shell script that executes gccgo with the # check-gccgo is a little shell script that executes gccgo with the
# options to pick up the newly built libgo. # options to pick up the newly built libgo and libstdc++.
@NATIVE_TRUE@check-gccgo: Makefile @NATIVE_TRUE@check-gccgo: Makefile
@NATIVE_TRUE@ rm -f $@ $@.tmp @NATIVE_TRUE@ rm -f $@ $@.tmp
@NATIVE_TRUE@ echo "#!/bin/sh" > $@.tmp @NATIVE_TRUE@ echo "#!/bin/sh" > $@.tmp
@NATIVE_TRUE@ abs_libgodir=`cd $(libgodir) && $(PWD_COMMAND)`; \ @NATIVE_TRUE@ abs_libgodir=`cd $(libgodir) && $(PWD_COMMAND)`; \
@NATIVE_TRUE@ echo "$(GOCOMPILE)" '"$$@"' "-I $${abs_libgodir} -L $${abs_libgodir} -L $${abs_libgodir}/.libs" >> $@.tmp @NATIVE_TRUE@ echo "$(GOCOMPILE)" '"$$@"' "-I $${abs_libgodir} -L $${abs_libgodir} -L $${abs_libgodir}/.libs -B$${abs_libgodir}/../libstdc++-v3/src/.libs -B$${abs_libgodir}/../libstdc++-v3/libsupc++/.libs" >> $@.tmp
@NATIVE_TRUE@ chmod +x $@.tmp @NATIVE_TRUE@ chmod +x $@.tmp
@NATIVE_TRUE@ mv -f $@.tmp $@ @NATIVE_TRUE@ mv -f $@.tmp $@
# check-gcc is a little shell script that executes the newly built gcc # check-gcc is a little shell script that executes the newly built gcc
# with the options to pick up the newly built libgo. # with the options to pick up the newly built libgo and libstdc++.
@NATIVE_TRUE@check-gcc: Makefile @NATIVE_TRUE@check-gcc: Makefile
@NATIVE_TRUE@ rm -f $@ $@.tmp @NATIVE_TRUE@ rm -f $@ $@.tmp
@NATIVE_TRUE@ echo "#!/bin/sh" > $@.tmp @NATIVE_TRUE@ echo "#!/bin/sh" > $@.tmp
@NATIVE_TRUE@ abs_libgodir=`cd $(libgodir) && $(PWD_COMMAND)`; \ @NATIVE_TRUE@ abs_libgodir=`cd $(libgodir) && $(PWD_COMMAND)`; \
@NATIVE_TRUE@ echo "$(GCC_FOR_TARGET)" '"$$@"' "-L $${abs_libgodir} -L $${abs_libgodir}/.libs" >> $@.tmp @NATIVE_TRUE@ echo "$(GCC_FOR_TARGET)" '"$$@"' "-L $${abs_libgodir} -L $${abs_libgodir}/.libs -B$${abs_libgodir}/../libstdc++-v3/src/.libs -B$${abs_libgodir}/../libstdc++-v3/libsupc++/.libs" >> $@.tmp
@NATIVE_TRUE@ chmod +x $@.tmp @NATIVE_TRUE@ chmod +x $@.tmp
@NATIVE_TRUE@ mv -f $@.tmp $@ @NATIVE_TRUE@ mv -f $@.tmp $@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment