]> git.ipfire.org Git - thirdparty/glibc.git/commit
Check if TEST_CC supports -Wno-restrict before using it
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 27 Jul 2023 18:49:52 +0000 (15:49 -0300)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 22 Dec 2024 20:32:51 +0000 (04:32 +0800)
commit2271e0d2b606637870daa2a39894eb8d8bbfe5dc
tree973c6b2225ed0e6c31cb7d56c8ea852aafd5e772
parent325db5ab7ff6983d9e46dc3118ebfe8085d76eb9
Check if TEST_CC supports -Wno-restrict before using it

Check if TEST_CC supports -Wno-restrict before using it to avoid Clang
error:

error: unknown warning option '-Wno-restrict' [-Werror,-Wunknown-warning-option]

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
configure
configure.ac
libio/Makefile