aboutsummaryrefslogtreecommitdiff
path: root/depends/hosts/linux.mk
diff options
context:
space:
mode:
Diffstat (limited to 'depends/hosts/linux.mk')
-rw-r--r--depends/hosts/linux.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/depends/hosts/linux.mk b/depends/hosts/linux.mk
index b101043439..635d3d16da 100644
--- a/depends/hosts/linux.mk
+++ b/depends/hosts/linux.mk
@@ -5,6 +5,10 @@ ifneq ($(LTO),)
linux_CFLAGS += -flto
linux_CXXFLAGS += -flto
linux_LDFLAGS += -flto
+
+linux_AR = $(host_toolchain)gcc-ar
+linux_NM = $(host_toolchain)gcc-nm
+linux_RANLIB = $(host_toolchain)gcc-ranlib
endif
linux_release_CFLAGS=-O2