Commit 16e40fef by Ian Lance Taylor

Pass $(MATH_LIBS) $(NET_LIBS) when linking tests.

From-SVN: r179219
parent f0f91207
......@@ -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)"; \
......
......@@ -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)"; \
......
......@@ -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}
......
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