summaryrefslogtreecommitdiffstats
path: root/source/l/glibc/glibc.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2018-07-29 08:27:12 +0000
committer Eric Hameleers <alien@slackware.com>2018-07-29 21:00:41 +0200
commit0cffe669e3c3f960f8a0fcc2a1593bec82d2755d (patch)
treec8136e6d1eba996607c3b98353efc5c8407636f7 /source/l/glibc/glibc.SlackBuild
parente100944d49d766848de3d8e38a9d91b9edbe04a0 (diff)
downloadcurrent-0cffe669e3c3f960f8a0fcc2a1593bec82d2755d.tar.gz
current-0cffe669e3c3f960f8a0fcc2a1593bec82d2755d.tar.xz
Sun Jul 29 08:27:12 UTC 201820180729082712
a/kernel-generic-4.14.59-x86_64-1.txz: Upgraded. a/kernel-huge-4.14.59-x86_64-1.txz: Upgraded. a/kernel-modules-4.14.59-x86_64-1.txz: Upgraded. d/kernel-headers-4.14.59-x86-1.txz: Upgraded. k/kernel-source-4.14.59-noarch-1.txz: Upgraded. x/mesa-18.1.5-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/l/glibc/glibc.SlackBuild')
-rwxr-xr-xsource/l/glibc/glibc.SlackBuild8
1 files changed, 6 insertions, 2 deletions
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