build: enable c++1z
This commit is contained in:
parent
5744b82825
commit
d804f0e4b6
@ -1,10 +1,12 @@
|
||||
AC_DEFUN([NC_CXX],[
|
||||
AX_CHECK_COMPILE_FLAG(
|
||||
[-std=c++1y],
|
||||
[AX_APPEND_FLAG([-std=c++1y], [CXXFLAGS])],
|
||||
[-std=c++1z],
|
||||
[AX_APPEND_FLAG([-std=c++1z], [CXXFLAGS])],
|
||||
[AC_ERROR([Unable to enable c++1y])]
|
||||
)
|
||||
|
||||
AX_APPEND_COMPILE_FLAGS([-pipe], [], [-Werror])
|
||||
|
||||
AX_APPEND_COMPILE_FLAGS([-fno-deduce-init-list], [], [-Werror])
|
||||
AX_APPEND_COMPILE_FLAGS([-fno-deduce-init-list], [], [-Werror])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user