diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-09-26 22:33:31 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-09-26 22:33:31 +0000 |
commit | 3329144ee9213f47f0daba96531a02f030296661 (patch) | |
tree | 0093a9ab3695f20defcc519d7a20d8df3ed57618 /libgo | |
parent | 70a51116fdef3ba190cdd0f3ffefb892d791da9b (diff) | |
download | gcc-3329144ee9213f47f0daba96531a02f030296661.tar.gz |
Pass $(MATH_LIBS) $(NET_LIBS) when linking tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179219 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/Makefile.am | 2 | ||||
-rw-r--r-- | libgo/Makefile.in | 2 | ||||
-rwxr-xr-x | libgo/testsuite/gotest | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am index b49a61e7b40..6992ce19e3f 100644 --- a/libgo/Makefile.am +++ b/libgo/Makefile.am @@ -1761,6 +1761,8 @@ GOTESTFLAGS = CHECK = \ GC="$(GOC) $(GOCFLAGS) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \ export GC; \ + GOLIBS="$(MATH_LIBS) $(NET_LIBS)"; \ + export GOLIBS; \ RUNTESTFLAGS="$(RUNTESTFLAGS)"; \ export RUNTESTFLAGS; \ MAKE="$(MAKE)"; \ diff --git a/libgo/Makefile.in b/libgo/Makefile.in index 9d61859f812..cdabd023d1a 100644 --- a/libgo/Makefile.in +++ b/libgo/Makefile.in @@ -2077,6 +2077,8 @@ GOTESTFLAGS = CHECK = \ GC="$(GOC) $(GOCFLAGS) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \ export GC; \ + GOLIBS="$(MATH_LIBS) $(NET_LIBS)"; \ + export GOLIBS; \ RUNTESTFLAGS="$(RUNTESTFLAGS)"; \ export RUNTESTFLAGS; \ MAKE="$(MAKE)"; \ diff --git a/libgo/testsuite/gotest b/libgo/testsuite/gotest index 296e8a5168f..69cf8eed06a 100755 --- a/libgo/testsuite/gotest +++ b/libgo/testsuite/gotest @@ -16,7 +16,7 @@ export LC_CTYPE=C GC=${GC:-gccgo} GL=${GL:-${GC-gccgo}} -GOLIBS= +GOLIBS=${GOLIBS:-} export GC GL GOLIBS NM=${NM:-nm} |