Skip to content

Commit

Permalink
make: export RANLIB tool with prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
smlng committed Mar 27, 2018
1 parent 21a9958 commit 069f920
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions makefiles/toolchain/gnu.inc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ export CXX = $(PREFIX)g++
export CCAS ?= $(CC)
ifeq ($(LTO),1)
export AR = $(PREFIX)gcc-ar
export RANLIB = $(PREFIX)gcc-ranlib
else
export AR = $(PREFIX)ar
export RANLIB = $(PREFIX)ranlib
endif
export AS = $(PREFIX)as
export LINK = $(PREFIX)gcc
Expand Down

0 comments on commit 069f920

Please sign in to comment.