summaryrefslogtreecommitdiff
path: root/source/xap/seamonkey/seamonkey.SlackBuild
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-05-20 21:07:25 +0000
committerEric Hameleers <alien@slackware.com>2019-05-21 08:59:45 +0200
commit86aaf4d6fceecb3dab2f29be1f899a27a2885e3b (patch)
treeca9a20c654032a3a3ac6b98a55c40898d4fcf2b9 /source/xap/seamonkey/seamonkey.SlackBuild
parent3fbd9748a313969957a03017b9d9b5476080b129 (diff)
downloadcurrent-86aaf4d6fceecb3dab2f29be1f899a27a2885e3b.tar.gz
Mon May 20 21:07:25 UTC 201920190520210725
a/btrfs-progs-5.1-x86_64-1.txz: Upgraded. a/dbus-1.12.14-x86_64-1.txz: Upgraded. a/eudev-3.2.8-x86_64-1.txz: Upgraded. d/bison-3.4-x86_64-1.txz: Upgraded. l/imagemagick-6.9.10_46-x86_64-1.txz: Upgraded. l/pulseaudio-12.2-x86_64-2.txz: Rebuilt. Patched to build against alsa-lib-1.1.9. Thanks to nobodino. n/ethtool-5.1-x86_64-1.txz: Upgraded. xfce/tumbler-0.2.4-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/xap/seamonkey/seamonkey.SlackBuild')
-rwxr-xr-xsource/xap/seamonkey/seamonkey.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/xap/seamonkey/seamonkey.SlackBuild b/source/xap/seamonkey/seamonkey.SlackBuild
index 5c7b5928..87082818 100755
--- a/source/xap/seamonkey/seamonkey.SlackBuild
+++ b/source/xap/seamonkey/seamonkey.SlackBuild
@@ -65,7 +65,14 @@ fi
# avoids a recurring build failure with GNU ld on other systems.
PATH="$(pwd)/gold:$PATH"
export CC=${CC:-"gcc -B$(pwd)/gold"}
-export CXX=${CXX:-"g++ -B$(pwd)/gold -fno-delete-null-pointer-checks"}
+export CXX=${CXX:-"g++ -B$(pwd)/gold"}
+
+# -Wformat is needed for -Werror=format-security
+# -Wno-format-overflow bypasses gcc9 build failure
+# -fno-delete-null-pointer-checks disables gcc6 optimization that
+# leads to instability
+export CFLAGS="-Wformat -Wno-format-overflow -fno-delete-null-pointer-checks"
+export CXXFLAGS="-Wformat -Wno-format-overflow -fno-delete-null-pointer-checks"
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}