summaryrefslogtreecommitdiffstats
path: root/source/l
diff options
context:
space:
mode:
Diffstat (limited to 'source/l')
-rw-r--r--source/l/FTBFSlog4
-rwxr-xr-xsource/l/glibc/glibc.SlackBuild8
2 files changed, 10 insertions, 2 deletions
diff --git a/source/l/FTBFSlog b/source/l/FTBFSlog
index df2314463..54f3a2739 100644
--- a/source/l/FTBFSlog
+++ b/source/l/FTBFSlog
@@ -1,3 +1,7 @@
+Sat Jul 28 16:30:36 UTC 2018
+ glibc: updated gcc version number to 8.2.0 so that --disable-werror is used.
+ Thanks to ponce and nobodino.
++--------------------------+
Thu Jun 28 17:35:27 UTC 2018
glibc: removed patch for libc.texinfo since the bug is fixed properly in
the texinfo package now.
diff --git a/source/l/glibc/glibc.SlackBuild b/source/l/glibc/glibc.SlackBuild
index acaadbeae..4bb09e632 100755
--- a/source/l/glibc/glibc.SlackBuild
+++ b/source/l/glibc/glibc.SlackBuild
@@ -54,8 +54,12 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-# Work around -Werror failure with gcc8:
-if gcc --version | grep -wq 8.1.1 ; then
+# Work around -Werror failure with gcc-8.2.0.
+# NOTE: Until the next glibc release takes care of this issue, this will
+# likely need to be updated with every new gcc release's version. Yes, we
+# could pass --disable-werror by default, but I'd rather not just shove a
+# stick in it like that.
+if [ "$(gcc -dumpversion)" = "8.2.0" ]; then
if [ "$VERSION" = "2.27" ]; then
WERROR="--disable-werror"
fi