mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Fixup c52049bb83
: -Werror is needed to test for warning flags
At least on my old clang++, this is required. Fixes bug #12391.
This commit is contained in:
parent
a5f1b15858
commit
37c34c5ca9
@ -391,7 +391,7 @@ if test x$GXX = xyes; then
|
||||
dnl note that g++ always accepts -Wno-xxx, even when -Wxxx is an error.
|
||||
AC_LANG_PUSH(C++)
|
||||
AX_CHECK_COMPILE_FLAG([-Wdeprecated-copy],
|
||||
[AM_CXXFLAGS="$AM_CXXFLAGS -Wno-deprecated-copy"])
|
||||
[AM_CXXFLAGS="$AM_CXXFLAGS -Wno-deprecated-copy"], [], [-Werror])
|
||||
AC_LANG_POP(C++)
|
||||
fi
|
||||
case $gxx_version in
|
||||
|
Loading…
Reference in New Issue
Block a user