From: Valentin Korenblit Date: Thu, 12 Apr 2018 12:02:36 +0000 (+0200) Subject: package/llvm: fix typo in llvm.mk X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=62285fbe46c8d740aeabb9563204d7d74b5629f1;p=buildroot.git package/llvm: fix typo in llvm.mk "+=" was missing in -DLLVM_TARGETS_TO_BUILD, so LLVM_CONF_OPTS and HOST_LLVM_CONF_OPTS before this option weren't being considered. Signed-off-by: Valentin Korenblit Signed-off-by: Thomas Petazzoni --- diff --git a/package/llvm/llvm.mk b/package/llvm/llvm.mk index de2ca38da1..a25495fbd7 100644 --- a/package/llvm/llvm.mk +++ b/package/llvm/llvm.mk @@ -40,8 +40,8 @@ LLVM_TARGET_ARCH = $(call qstrip,$(BR2_PACKAGE_LLVM_TARGET_ARCH)) # Build backend for target architecture. This include backends like AMDGPU. LLVM_TARGETS_TO_BUILD = $(LLVM_TARGET_ARCH) -HOST_LLVM_CONF_OPTS = -DLLVM_TARGETS_TO_BUILD="$(subst $(space),;,$(LLVM_TARGETS_TO_BUILD))" -LLVM_CONF_OPTS = -DLLVM_TARGETS_TO_BUILD="$(subst $(space),;,$(LLVM_TARGETS_TO_BUILD))" +HOST_LLVM_CONF_OPTS += -DLLVM_TARGETS_TO_BUILD="$(subst $(space),;,$(LLVM_TARGETS_TO_BUILD))" +LLVM_CONF_OPTS += -DLLVM_TARGETS_TO_BUILD="$(subst $(space),;,$(LLVM_TARGETS_TO_BUILD))" # LLVM target to use for native code generation. This is required for JIT generation. # It must be set to LLVM_TARGET_ARCH for host and target, otherwise we get