mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
On cygwin, use -std=gnu++11 instead of -std=c++11
This allows compiling without monkeying with compiler guards.
This commit is contained in:
parent
bde1bee24e
commit
864a4db26b
@ -362,8 +362,9 @@ if test x$GXX = xyes; then
|
||||
dnl the deprecated-register warning is very annoying with Qt4.x right now.
|
||||
AM_CXXFLAGS="$AM_CXXFLAGS -std=c++11 -Wno-deprecated-register";;
|
||||
*)
|
||||
AM_CXXFLAGS="$AM_CXXFLAGS -std=c++11"
|
||||
AS_CASE([$host], [*cygwin*], [AM_CXXFLAGS="$AM_CXXFLAGS -U__STRICT_ANSI__"]);;
|
||||
AS_CASE([$host], [*cygwin*],
|
||||
[AM_CXXFLAGS="$AM_CXXFLAGS -std=gnu++11"],
|
||||
[AM_CXXFLAGS="$AM_CXXFLAGS -std=c++11"]);;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user