Fix TARGET_TRIPLE for 12.0-CURRENT.

Submitted by:	rene
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
gjb 2016-07-11 21:55:56 +00:00
parent 9852e91f16
commit 6797545c54

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}