git: 43b41bee90c7 - main - llvm: fix armv[67] after 0bc26e325450
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Aug 2023 19:11:43 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=43b41bee90c711ba47a507e2df14915b7a1ae228
commit 43b41bee90c711ba47a507e2df14915b7a1ae228
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-08-15 19:08:39 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-08-15 19:11:06 +0000
llvm: fix armv[67] after 0bc26e325450
During the life-cycle of the patch that landed as 0bc26e325450, the
variable names changed and I missed that in the rebase. Use the proper
TARGET_TRIPLE_ABI.
Fixes: 0bc26e325450
Sponsored by: Netflix
---
lib/clang/llvm.build.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/clang/llvm.build.mk b/lib/clang/llvm.build.mk
index f9fd62e78f4e..a2f5a5a4c341 100644
--- a/lib/clang/llvm.build.mk
+++ b/lib/clang/llvm.build.mk
@@ -41,9 +41,9 @@ BUILD_ARCH?= ${MACHINE_ARCH}
# For all other targets, we stick with 'unknown'.
.if ${TARGET_ARCH:Marm*}
.if !defined(CPUTYPE) || ${CPUTYPE:M*soft*} == ""
-TARGET_ABI= -gnueabihf
+TARGET_TRIPLE_ABI=-gnueabihf
.else
-TARGET_ABI= -gnueabi
+TARGET_TRIPLE_ABI=-gnueabi
.endif
.else
TARGET_TRIPLE_ABI=