Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7c9f327 authored by Nicolas Geoffray's avatar Nicolas Geoffray
Browse files

Make linker configurable through environment.

Change-Id: I152ad7b41cfa05f2f59f51c6d8bd1e427f1a1649
parent 77d17b6c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -230,7 +230,11 @@ $(foreach lib, $(LOCAL_HAL_STATIC_LIBRARIES), \
b_lib :=
endif

ifneq ($(strip $(CUSTOM_$(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)LINKER)),)
  my_linker := $(CUSTOM_$(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)LINKER)
else
  my_linker := $($(LOCAL_2ND_ARCH_VAR_PREFIX)TARGET_LINKER)
endif

include $(BUILD_SYSTEM)/config_sanitizers.mk