summaryrefslogtreecommitdiffstats
path: root/source/l/glibc/glibc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/glibc/glibc.SlackBuild')
-rwxr-xr-xsource/l/glibc/glibc.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/l/glibc/glibc.SlackBuild b/source/l/glibc/glibc.SlackBuild
index 34b45173e..f00ad08b6 100755
--- a/source/l/glibc/glibc.SlackBuild
+++ b/source/l/glibc/glibc.SlackBuild
@@ -54,13 +54,13 @@ fi
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
-# Work around -Werror failure with gcc-8.2.0.
+# Work around -Werror failure with gcc-10.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
+if [ "$(gcc -dumpversion)" = "10.2.0" ]; then
+ if [ "$VERSION" = "2.30" ]; then
WERROR="--disable-werror"
fi
fi