From 18e3e4f236e1ea6e0343058df00192b5ae1e5e13 Mon Sep 17 00:00:00 2001 From: Stefano Cristiano Date: Wed, 25 Dec 2019 17:05:37 +0100 Subject: [PATCH] Build: Make sure that RANLIB and AR use cross-compiler provided executables This is very much needed when compiling host tools on macOS for example --- Makefile.common | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.common b/Makefile.common index 6f7fe299d6..edd1c130db 100644 --- a/Makefile.common +++ b/Makefile.common @@ -33,6 +33,9 @@ else CC = $(PRE_CC) $(TOOLCHAIN_PATH)/i686-pc-serenity-gcc AS = $(TOOLCHAIN_PATH)/i686-pc-serenity-as LINK = $(TOOLCHAIN_PATH)/i686-pc-serenity-ld + RANLIB = $(TOOLCHAIN_PATH)/i686-pc-serenity-ranlib + AR = $(TOOLCHAIN_PATH)/i686-pc-serenity-ar + DEFINES += -DDEBUG INCLUDE_FLAGS += \