Date: Tue, 10 Nov 2020 15:42:16 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r554839 - in head/Mk: . Uses Message-ID: <202011101542.0AAFgGpK028961@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Tue Nov 10 15:42:15 2020 New Revision: 554839 URL: https://svnweb.freebsd.org/changeset/ports/554839 Log: Add powerpc64le since it uses the same CPU models as powerpc64. Modified: head/Mk/Uses/cargo.mk head/Mk/bsd.gecko.mk Modified: head/Mk/Uses/cargo.mk ============================================================================== --- head/Mk/Uses/cargo.mk Tue Nov 10 15:07:47 2020 (r554838) +++ head/Mk/Uses/cargo.mk Tue Nov 10 15:42:15 2020 (r554839) @@ -74,7 +74,7 @@ CARGO_ENV+= \ # Adjust -C target-cpu if -march/-mcpu is set by bsd.cpu.mk .if ${ARCH} == amd64 || ${ARCH} == i386 RUSTFLAGS+= ${CFLAGS:M-march=*:S/-march=/-C target-cpu=/} -.elif ${ARCH} == powerpc64 +.elif ${ARCH:Mpowerpc64*} RUSTFLAGS+= ${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/:S/power/pwr/} .else RUSTFLAGS+= ${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/} Modified: head/Mk/bsd.gecko.mk ============================================================================== --- head/Mk/bsd.gecko.mk Tue Nov 10 15:07:47 2020 (r554838) +++ head/Mk/bsd.gecko.mk Tue Nov 10 15:42:15 2020 (r554839) @@ -110,7 +110,7 @@ MOZILLA_PLIST_DIRS?= bin lib share/pixmaps share/appli # Adjust -C target-cpu if -march/-mcpu is set by bsd.cpu.mk .if ${ARCH} == amd64 || ${ARCH} == i386 RUSTFLAGS+= ${CFLAGS:M-march=*:S/-march=/-C target-cpu=/} -.elif ${ARCH} == powerpc64 +.elif ${ARCH:Mpowerpc64*} RUSTFLAGS+= ${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/:S/power/pwr/} .else RUSTFLAGS+= ${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011101542.0AAFgGpK028961>