From c6b9a07f4469c8296ca55d1c404282678be01db0 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Mon, 17 Jun 2019 19:57:58 -0400 Subject: [PATCH] ArchitectureRules: Allow overriding HAIKU_LINK. I am using this to use clang+lld for linking on ARM builds, which seems to be more tolerant than binutils ld is, and gets the build a bit farther for now. --- build/jam/ArchitectureRules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/jam/ArchitectureRules b/build/jam/ArchitectureRules index fb8f7fe65a..6f9b2129b0 100644 --- a/build/jam/ArchitectureRules +++ b/build/jam/ArchitectureRules @@ -62,7 +62,7 @@ rule ArchitectureSetup architecture # initial state for flags etc. HAIKU_C++_$(architecture) ?= $(HAIKU_CC_$(architecture)) ; - HAIKU_LINK_$(architecture) = $(HAIKU_CC_$(architecture)) ; + HAIKU_LINK_$(architecture) ?= $(HAIKU_CC_$(architecture)) ; HAIKU_CCFLAGS_$(architecture) += $(ccBaseFlags) -nostdinc ; HAIKU_C++FLAGS_$(architecture) += $(ccBaseFlags) -nostdinc ;