diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-11-21 06:19:10 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-11-21 06:19:10 +0000 |
commit | c9548fa4f1c1eaee8d5760632d2f47c649f25238 (patch) | |
tree | ebbdafbaed8438eccfc128024fa0f2afb065c26c /libgo/Makefile.in | |
parent | 5e43a9eeca114f99248c46495449d6fd4fc2b63e (diff) | |
download | gcc-c9548fa4f1c1eaee8d5760632d2f47c649f25238.zip gcc-c9548fa4f1c1eaee8d5760632d2f47c649f25238.tar.gz gcc-c9548fa4f1c1eaee8d5760632d2f47c649f25238.tar.bz2 |
libgo: fix makefile buglet
Fix a small bug in the libgo Makefile recipe that constructs the
directory from which to pick up libgcc_s.so ; the gccgo invocation
with -print-libgcc-file-name was missing the flags, which meant that
for -m32 builds we'd see the 64-bit libgcc dir.
Reviewed-on: https://go-review.googlesource.com/78836
From-SVN: r254984
Diffstat (limited to 'libgo/Makefile.in')
-rw-r--r-- | libgo/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/Makefile.in b/libgo/Makefile.in index 794c125..ac9f529 100644 --- a/libgo/Makefile.in +++ b/libgo/Makefile.in @@ -1135,7 +1135,7 @@ CHECK = \ export MAKE; \ NM="$(NM)"; \ export NM; \ - libgccdir=`${GOC} -print-libgcc-file-name | sed -e 's|/[^/]*$$||'`; \ + libgccdir=`${GOC} ${GOCFLAGS} -print-libgcc-file-name | sed -e 's|/[^/]*$$||'`; \ LD_LIBRARY_PATH="`${PWD_COMMAND}`/.libs:$${libgccdir}:${LD_LIBRARY_PATH}"; \ LD_LIBRARY_PATH=`echo $${LD_LIBRARY_PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; \ export LD_LIBRARY_PATH; \ |