diff --git a/debian/changelog b/debian/changelog index f66b80eb..8ca2d2dd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,7 @@ llvm-toolchain-snapshot (1:13~++20210403031832+89afec348dbd-1~exp1) UNRELEASED; * Add upstream patch D98537 to implement AsmParser on m68k * Add upstream patch D98540 to implement Disassembler on m68k * Set LLVM_HOST_TRIPLE to x86_64-linux-gnux32 on x32 + * Set LLVM_DEFAULT_TARGET_TRIPLE to x86_64-linux-gnux32 on x32 -- Sylvestre Ledru Sat, 03 Apr 2021 15:22:07 +0200 diff --git a/debian/rules b/debian/rules index f7c936cc..4d538e11 100755 --- a/debian/rules +++ b/debian/rules @@ -121,6 +121,7 @@ endif ifneq (,$(filter $(DEB_HOST_ARCH),x32)) CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=x86_64-linux-gnux32 + CMAKE_EXTRA += -DLLVM_DEFAULT_TARGET_TRIPLE=x86_64-linux-gnux32 endif ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' g++-$(GCC_VERSION)) ge 4.8-20121128-1~ ; echo $$?),0)