Skip to content

Commit

Permalink
Mk/bsd.gecko.mk: remove obsolete conditional
Browse files Browse the repository at this point in the history
Also fix powerpc64* - it should be powerpc*.
  • Loading branch information
pkubaj committed Apr 27, 2022
1 parent 2238cda commit ceba00e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Mk/bsd.gecko.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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=/}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ceba00e

Please sign in to comment.