Fix a cross-build regression in r493401.
Use HOSTARCH to set CONFIGURE_TARGET instead of ARCH. Reported by: Mark Millard Approved by: bapt (maintainer) Differential Revision: https://reviews.freebsd.org/D19484
This commit is contained in:
parent
97a2c26129
commit
596270259d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495519
@ -60,10 +60,10 @@ INSTALL_TARGET?= install-gcc
|
||||
CONFIGURE_ARGS+= --enable-initfini-array
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "amd64"
|
||||
.if ${HOSTARCH} == "amd64"
|
||||
CONFIGURE_TARGET= x86_64-unknown-${OPSYS:tl}${OSREL}
|
||||
.else
|
||||
CONFIGURE_TARGET= ${ARCH}-unknown-${OPSYS:tl}${OSREL}
|
||||
CONFIGURE_TARGET= ${HOSTARCH}-unknown-${OPSYS:tl}${OSREL}
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "amd64" || ${ARCH} == "i386"
|
||||
|
Loading…
Reference in New Issue
Block a user