libgo: Use GOCFLAGS when compiling tests.
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 6 Jul 2011 19:51:58 +0000 (19:51 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 6 Jul 2011 19:51:58 +0000 (19:51 +0000)
From Uros Bizjak.

From-SVN: r175930

libgo/Makefile.am
libgo/Makefile.in

index 761a11ad265f5d4c370d9544d962901a3c81c743..26a6e78d64fed4095681938e671051affcbec835 100644 (file)
@@ -1619,7 +1619,7 @@ GOTESTFLAGS =
 
 # Check a package.
 CHECK = \
-       GC="$(GOC) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \
+       GC="$(GOC) $(GOCFLAGS) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \
        export GC; \
        RUNTESTFLAGS="$(RUNTESTFLAGS)"; \
        export RUNTESTFLAGS; \
index 8637ec41b7d72cc8240e380fa393178ac6c399c7..5b33859becf106300e55726e8ed60fe627171e3e 100644 (file)
@@ -1937,7 +1937,7 @@ GOTESTFLAGS =
 
 # Check a package.
 CHECK = \
-       GC="$(GOC) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \
+       GC="$(GOC) $(GOCFLAGS) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \
        export GC; \
        RUNTESTFLAGS="$(RUNTESTFLAGS)"; \
        export RUNTESTFLAGS; \