summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Di Bella <cjdb@google.com>2023-03-02 22:45:37 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-03-03 19:07:29 +0000
commitf9426eef190f0a857fa61a7ea097f13418739ba3 (patch)
treec4cb2bf3f5d6f81476e37cf8c9bbd6be794f04df
parent179d7e59fc5c05fecb674a36c8731747d9b61dfd (diff)
downloadlibchrome-gestures-f9426eef190f0a857fa61a7ea097f13418739ba3.tar.gz
upgrades to C++17
ChromeOS is looking to move to C++20, and the gtest 1.13.0 C++14 as a minimum version. This commit skips C++14 in favour of C++17 so that we can identify any C++17-only blockers on the path toward C++20. BUG=b:271475511 TEST=CQ Change-Id: I3caa4de306b9fd9d792fde609003c248dc76639f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/gestures/+/4304668 Code-Coverage: Henry Barnor <hbarnor@chromium.org> Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org> Reviewed-by: Harry Cutts <hcutts@chromium.org> Commit-Queue: Christopher Di Bella <cjdb@google.com> Auto-Submit: Christopher Di Bella <cjdb@google.com> Tested-by: Christopher Di Bella <cjdb@google.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c6165e9..53c9d66 100644
--- a/Makefile
+++ b/Makefile
@@ -112,7 +112,7 @@ DESTDIR = .
CXXFLAGS+=\
-g \
- -std=gnu++11 \
+ -std=gnu++17 \
-fno-exceptions \
-fno-strict-aliasing \
-fPIC \