Set LLVM_DEFAULT_TARGET_TRIPLE to x86_64-linux-gnux32 on x32

This commit is contained in:
John Paul Adrian Glaubitz 2021-04-06 09:13:34 +02:00
parent 6a524ab373
commit 9541eb713b
2 changed files with 2 additions and 0 deletions

1
debian/changelog vendored
View File

@ -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 <sylvestre@debian.org> Sat, 03 Apr 2021 15:22:07 +0200

1
debian/rules vendored
View File

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