diff options
author | Patrick Venture <venture@google.com> | 2018-09-10 13:07:40 -0700 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2018-09-14 11:49:15 -0700 |
commit | 619190dd3f732f20f2d0e35ce1654829ef6a6c23 (patch) | |
tree | 34471331e9474a405ba3078331918044c1508da8 | |
parent | af6227a3eb3fc918425d7588e001a75bd348232d (diff) | |
download | phosphor-hwmon-619190dd3f732f20f2d0e35ce1654829ef6a6c23.tar.gz phosphor-hwmon-619190dd3f732f20f2d0e35ce1654829ef6a6c23.zip |
Build as c++17
Set configure.ac to attempt to build with c++17.
Change-Id: Ie09177e5de43bb1789befbb32678b802c1959bd2
Signed-off-by: Patrick Venture <venture@google.com>
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index cc8c655..fea80cd 100644 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,7 @@ PKG_CHECK_MODULES([PHOSPHOR_LOGGING], [phosphor-logging], [], [AC_MSG_ERROR(["ph AX_PTHREAD([], [AC_MSG_ERROR(["pthread required and not found"])]) # Checks for typedefs, structures, and compiler characteristics. -AX_CXX_COMPILE_STDCXX_14([noext]) +AX_CXX_COMPILE_STDCXX_17([noext]) AX_APPEND_COMPILE_FLAGS([-fpic -Wall -Werror], [CXXFLAGS]) # Checks for header files. |