svn commit: r495519 - head/base/gcc

John Baldwin jhb at FreeBSD.org
Tue Mar 12 18:56:54 UTC 2019


Author: jhb (src,doc committer)
Date: Tue Mar 12 18:56:53 2019
New Revision: 495519
URL: https://svnweb.freebsd.org/changeset/ports/495519

Log:
  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

Modified:
  head/base/gcc/Makefile

Modified: head/base/gcc/Makefile
==============================================================================
--- head/base/gcc/Makefile	Tue Mar 12 18:18:57 2019	(r495518)
+++ head/base/gcc/Makefile	Tue Mar 12 18:56:53 2019	(r495519)
@@ -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"


More information about the svn-ports-all mailing list