summaryrefslogtreecommitdiff
path: root/network/palemoon/palemoon.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/palemoon/palemoon.SlackBuild')
-rw-r--r--network/palemoon/palemoon.SlackBuild17
1 files changed, 16 insertions, 1 deletions
diff --git a/network/palemoon/palemoon.SlackBuild b/network/palemoon/palemoon.SlackBuild
index 081340f2f6..2e87653a67 100644
--- a/network/palemoon/palemoon.SlackBuild
+++ b/network/palemoon/palemoon.SlackBuild
@@ -26,7 +26,7 @@
# Special thanks to Ponce
PRGNAM=palemoon
-VERSION=${VERSION:-28.0.0}
+VERSION=${VERSION:-28.0.1}
SRCNAM=${SRCNAM:-UXP-PM${VERSION}_Release}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,6 +65,11 @@ else
LIBDIRSUFFIX=""
fi
+# look into adding this as an option:
+# elif [ "$ARCH" = "x86_64" ]; then
+# SLKCFLAGS="-O2 -D_FORTIFY_SOURCE=2 -fstack-protector --param ssp-buffer-size=4 -fPIE -pie -Wl,-z,relro,-z,now -mindirect-branch=th
+
+
# The default is to build with official branding. This SlackBuild is used to
# produce officially approved third party "contributed builds" of Pale Moon.
# This SlackBuild can also be used to produce unapproved packages -- which
@@ -167,6 +172,16 @@ export MOZ_REQUIRE_SIGNING=
export MOZ_TELEMETRY_REPORTING=
export PYTHON=/usr/bin/python2
+
+# Dev tools are enabled by default in the official binaries, so we should do the same here;
+# passing DEVTOOLS=no to the script, however, will disable them.
+if [ "$DEVTOOLS" = "no" ]; then
+ DEVTOOLS="--disable-devtools"
+else
+ DEVTOOLS="--enable-devtools"
+fi
+
+
# Please see https://www.palemoon.org/redist.shtml for restrictions when using the official branding.
# Our building options, in a configure-like display ;)
OPTIONS="\