diff options
| author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-04-27 13:18:28 +0000 |
|---|---|---|
| committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-04-27 13:18:28 +0000 |
| commit | ceba00eb468c8e75f5a1521870db37b0d2adb3ca (patch) | |
| tree | 9493118539b82e2f17413cb4dc8ab1888743296d | |
| parent | 2238cdaeeee894eaee1c99f327b5b4a22231b462 (diff) | |
Mk/bsd.gecko.mk: remove obsolete conditional
Also fix powerpc64* - it should be powerpc*.
| -rw-r--r-- | Mk/bsd.gecko.mk | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk index af3e496a05c5..4997aa86031a 100644 --- a/Mk/bsd.gecko.mk +++ b/Mk/bsd.gecko.mk @@ -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 |
