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.
This commit is contained in:
Augustin Cavalier 2019-06-17 19:57:58 -04:00
parent b6b66df0c5
commit c6b9a07f44

View File

@ -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 ;