mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Do not put C++-only options in AM_CPPFLAGS
This commit is contained in:
parent
bcde3d0016
commit
c3bf053dd3
@ -409,7 +409,8 @@ if test x$GXX = xyes; then
|
|||||||
dnl Warnings are for preprocessor too
|
dnl Warnings are for preprocessor too
|
||||||
if test x$enable_warnings = xyes ; then
|
if test x$enable_warnings = xyes ; then
|
||||||
case $gxx_version in
|
case $gxx_version in
|
||||||
9.*) AM_CPPFLAGS="$AM_CPPFLAGS -Wall -Wextra -Wno-deprecated-copy";;
|
9.*) AM_CPPFLAGS="$AM_CPPFLAGS -Wall -Wextra"
|
||||||
|
AM_CXXFLAGS="$AM_CXXFLAGS -Wno-deprecated-copy";;
|
||||||
*) AM_CPPFLAGS="$AM_CPPFLAGS -Wall -Wextra";;
|
*) AM_CPPFLAGS="$AM_CPPFLAGS -Wall -Wextra";;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user