summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2022-01-16 00:13:38 +0100
committerBruno Haible <bruno@clisp.org>2022-01-16 00:13:38 +0100
commit1eae0f7ea3c220d054025f2c9211700665f9f4a0 (patch)
treebe8a95a5f046107d13f6c9a2fa6ec131f43d468c /m4
parentf5aacd0c7ab38c7d5b0ecbadadd314067225e73e (diff)
downloadgnulib-1eae0f7ea3c220d054025f2c9211700665f9f4a0.tar.gz
Don't pass unknown warning option to clang.
Reported by Assaf Gordon via Paul Eggert in <https://lists.gnu.org/archive/html/coreutils/2022-01/msg00018.html>. * m4/gnulib-common.m4 (gl_CC_GNULIB_WARNINGS): Don't use -Wno-unsuffixed-float-constants with clang.
Diffstat (limited to 'm4')
-rw-r--r--m4/gnulib-common.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/gnulib-common.m4 b/m4/gnulib-common.m4
index 3730860f6d..dbc4079614 100644
--- a/m4/gnulib-common.m4
+++ b/m4/gnulib-common.m4
@@ -1,4 +1,4 @@
-# gnulib-common.m4 serial 71
+# gnulib-common.m4 serial 72
dnl Copyright (C) 2007-2022 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -952,7 +952,7 @@ AC_DEFUN([gl_CC_GNULIB_WARNINGS],
-Wno-sign-conversion
-Wno-type-limits
#endif
- #if __GNUC__ + (__GNUC_MINOR__ >= 5) > 4 || (__clang_major__ + (__clang_minor__ >= 9) > 3)
+ #if __GNUC__ + (__GNUC_MINOR__ >= 5) > 4
-Wno-unsuffixed-float-constants
#endif
EOF