summaryrefslogtreecommitdiffstats
path: root/source/xap/mozilla-firefox/mozilla-firefox.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/mozilla-firefox/mozilla-firefox.SlackBuild')
-rwxr-xr-xsource/xap/mozilla-firefox/mozilla-firefox.SlackBuild21
1 files changed, 11 insertions, 10 deletions
diff --git a/source/xap/mozilla-firefox/mozilla-firefox.SlackBuild b/source/xap/mozilla-firefox/mozilla-firefox.SlackBuild
index b589706f3..41d273f59 100755
--- a/source/xap/mozilla-firefox/mozilla-firefox.SlackBuild
+++ b/source/xap/mozilla-firefox/mozilla-firefox.SlackBuild
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=mozilla-firefox
VERSION=$(basename $(ls firefox-*.tar.?z | cut -d - -f 2 | rev | cut -f 3- -d . | rev) .source)
RELEASEVER=$(echo $VERSION | cut -f 1 -d r | cut -f 1 -d b | cut -f 1 -d e)
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Specify this variable for a localized build.
# For example, to build a version of Firefox with Italian support, run
@@ -135,25 +135,25 @@ export RUSTFLAGS="-Cdebuginfo=0"
PGO=${PGO:-no}
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -g0"
+ SLKCFLAGS="-g0"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -g0"
+ SLKCFLAGS="-g0"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2 -g0"
+ SLKCFLAGS="-g0"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -g0 -fPIC"
+ SLKCFLAGS="-g0 -fPIC"
LIBDIRSUFFIX="64"
elif [ "$ARCH" = "arm" ]; then
- SLKCFLAGS="-O2 -g0 -march=armv4 -mtune=xscale"
+ SLKCFLAGS="-g0 -march=armv4 -mtune=xscale"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "armel" ]; then
- SLKCFLAGS="-O2 -g0 -march=armv4t"
+ SLKCFLAGS="-g0 -march=armv4t"
LIBDIRSUFFIX=""
else
- SLKCFLAGS="-O2 -g0"
+ SLKCFLAGS="-g0"
LIBDIRSUFFIX=""
fi
@@ -240,6 +240,8 @@ OPTIONS="\
--enable-application=browser \
--enable-default-toolkit=cairo-gtk3-wayland \
--enable-linker=$LINKER \
+ --enable-optimize \
+ --enable-rust-simd \
$GOOGLE_API_KEY \
--disable-strip \
--disable-install-strip \
@@ -249,8 +251,7 @@ OPTIONS="\
--disable-debug-symbols \
--disable-debug \
--disable-elf-hack \
- --disable-updater \
- --disable-optimize"
+ --disable-updater"
# Complains about missing APNG support in Slackware's libpng:
# --with-system-png \
# This option breaks mozilla-12.0: