Skip to content

Commit

Permalink
libgo: fix makefile buglet
Browse files Browse the repository at this point in the history
    
    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


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254984 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
ian committed Nov 21, 2017
1 parent 68087a6 commit ef6ff05
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gcc/go/gofrontend/MERGE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
5485b3faed476f6d051833d1790b5f77be9d1efc
fecb92bda0aa6d70c89d14635ff568df77d2bb5f

The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
2 changes: 1 addition & 1 deletion libgo/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,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; \
Expand Down
2 changes: 1 addition & 1 deletion libgo/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit ef6ff05

Please sign in to comment.