summaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2019-10-23 16:43:51 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2019-10-23 16:43:51 +0000
commit4196949c0158711fb101e5459ea41fc4370b736a (patch)
tree3e00e78b287270ddaf090e3bc5d7dba8d0423d6c /Makefile.inc1
parentb96562eb869a2eed72e40b88bfeb526075f00553 (diff)
downloadsrc-test2-4196949c0158711fb101e5459ea41fc4370b736a.tar.gz
src-test2-4196949c0158711fb101e5459ea41fc4370b736a.zip
Strip "sf" suffix when generating a target triple.
This fixes the target triple used when compiling riscv64sf with clang. Discussed with: mhorne MFC after: 2 weeks Sponsored by: DARPA
Notes
Notes: svn path=/head/; revision=353932
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc14
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 92c5ef489b00..7f8192e8d272 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -129,9 +129,9 @@ TARGET_ABI= gnueabi
.endif
.endif
MACHINE_ABI?= unknown
-MACHINE_TRIPLE?=${MACHINE_ARCH:S/amd64/x86_64/:C/hf$//:S/mipsn32/mips64/}-${MACHINE_ABI}-freebsd13.0
+MACHINE_TRIPLE?=${MACHINE_ARCH:S/amd64/x86_64/:C/[hs]f$//:S/mipsn32/mips64/}-${MACHINE_ABI}-freebsd13.0
TARGET_ABI?= unknown
-TARGET_TRIPLE?= ${TARGET_ARCH:S/amd64/x86_64/:C/hf$//:S/mipsn32/mips64/}-${TARGET_ABI}-freebsd13.0
+TARGET_TRIPLE?= ${TARGET_ARCH:S/amd64/x86_64/:C/[hs]f$//:S/mipsn32/mips64/}-${TARGET_ABI}-freebsd13.0
KNOWN_ARCHES?= aarch64/arm64 \
amd64 \
arm \