Enforce C++ 2003 standard (with GNU extensions), to silence deprecation warnings
parent
912261e5fc
commit
4fce93eea9
|
@ -45,7 +45,7 @@ esac
|
||||||
# Use C++ for testing headers
|
# Use C++ for testing headers
|
||||||
AC_LANG([C++])
|
AC_LANG([C++])
|
||||||
|
|
||||||
CXXFLAGS="$CXXFLAGS -Wall -Wno-parentheses"
|
CXXFLAGS="$CXXFLAGS -std=gnu++03 -Wall -Wno-parentheses"
|
||||||
|
|
||||||
# If default 'ar' is not available, try to find one with a host prefix (see ticket #145)
|
# If default 'ar' is not available, try to find one with a host prefix (see ticket #145)
|
||||||
AC_CHECK_PROGS([AR], [ar ${host_alias}-ar])
|
AC_CHECK_PROGS([AR], [ar ${host_alias}-ar])
|
||||||
|
|
Loading…
Reference in New Issue