summaryrefslogtreecommitdiffstats
path: root/source/xap
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap')
-rw-r--r--source/xap/FTBFSlog7
-rwxr-xr-xsource/xap/ddd/ddd.SlackBuild2
-rwxr-xr-xsource/xap/seamonkey/seamonkey.SlackBuild9
3 files changed, 16 insertions, 2 deletions
diff --git a/source/xap/FTBFSlog b/source/xap/FTBFSlog
index 2ca997691..439fc1198 100644
--- a/source/xap/FTBFSlog
+++ b/source/xap/FTBFSlog
@@ -1,3 +1,10 @@
+Mon May 20 20:36:17 UTC 2019
+ seamonkey: compile with:
+ -Wformat -Wno-format-overflow -fno-delete-null-pointer-checks
++--------------------------+
+Mon May 20 04:23:36 UTC 2019
+ ddd: Add -fpermissive to CXXFLAGS. Thanks to Matteo Bernardini.
++--------------------------+
Tue Mar 26 23:03:23 UTC 2019
mozilla-firefox: added unbreakdocs patch to fix build with latest Rust.
Thanks to Stuart Winter.
diff --git a/source/xap/ddd/ddd.SlackBuild b/source/xap/ddd/ddd.SlackBuild
index 40a42bac6..d0c97fed3 100755
--- a/source/xap/ddd/ddd.SlackBuild
+++ b/source/xap/ddd/ddd.SlackBuild
@@ -91,7 +91,7 @@ zcat $CWD/strclass.C.diff.gz | patch -p0 --verbose || exit 1
zcat $CWD/machine_code_window_fix.diff.gz | patch -p1 --verbose || exit 1
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -fpermissive" \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
diff --git a/source/xap/seamonkey/seamonkey.SlackBuild b/source/xap/seamonkey/seamonkey.SlackBuild
index 5c7b5928b..870828181 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) "}