1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

Mk/bsd.gecko.mk: remove obsolete conditional

Also fix powerpc64* - it should be powerpc*.
This commit is contained in:
Piotr Kubaj 2022-04-27 13:18:28 +00:00
parent 2238cdaeee
commit ceba00eb46

View File

@ -118,7 +118,7 @@ MOZILLA_PLIST_DIRS?= bin lib share/pixmaps share/applications
# 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:Mpowerpc64*}
. elif ${ARCH:Mpowerpc*}
RUSTFLAGS+= ${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/:S/power/pwr/}
. else
RUSTFLAGS+= ${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/}
@ -336,9 +336,6 @@ LDFLAGS+= -B${LOCALBASE}/bin
. endif
. elif ${ARCH:Mpowerpc*}
BUILD_DEPENDS+= as:devel/binutils
. if ${ARCH} == "powerpc64"
MOZ_EXPORT+= UNAME_m="${ARCH}"
. endif
. endif
. else # bsd.port.post.mk