From: Ian Lance Taylor Date: Wed, 6 Jul 2011 19:51:58 +0000 (+0000) Subject: libgo: Use GOCFLAGS when compiling tests. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b7758f22752f93222b4d9ba9260b56af66ab7ea7;p=gcc.git libgo: Use GOCFLAGS when compiling tests. From Uros Bizjak. From-SVN: r175930 --- diff --git a/libgo/Makefile.am b/libgo/Makefile.am index 761a11ad265..26a6e78d64f 100644 --- a/libgo/Makefile.am +++ b/libgo/Makefile.am @@ -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; \ diff --git a/libgo/Makefile.in b/libgo/Makefile.in index 8637ec41b7d..5b33859becf 100644 --- a/libgo/Makefile.in +++ b/libgo/Makefile.in @@ -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; \