Fix TARGET_TRIPLE for 12.0-CURRENT.

Submitted by:	rene
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2016-07-11 21:55:56 +00:00
parent 8c636a11dc
commit 6cdb0cba3e

View File

@ -555,7 +555,7 @@ XCXXFLAGS+= -isystem ${WORLDTMP}/usr/include/c++/v1 -std=c++11 \
.endif
.else
TARGET_ABI?= unknown
TARGET_TRIPLE?= ${TARGET_ARCH:C/amd64/x86_64/}-${TARGET_ABI}-freebsd11.0
TARGET_TRIPLE?= ${TARGET_ARCH:C/amd64/x86_64/}-${TARGET_ABI}-freebsd12.0
XCFLAGS+= -target ${TARGET_TRIPLE}
.endif
XCFLAGS+= --sysroot=${WORLDTMP}