diff options
Diffstat (limited to 'source/l/glibc')
-rwxr-xr-x | source/l/glibc/glibc.SlackBuild | 8 |
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 |