diff options
author | Stephen Hines <srhines@google.com> | 2018-11-13 13:33:26 -0800 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2018-11-13 13:35:11 -0800 |
commit | 6e815f733aa5b382bd8734b43dd0cc530d9fadbc (patch) | |
tree | 3a5cfb217520c9296ba7ccc6a32e2d89461f0b30 | |
parent | f08deabf0e1fc07d90a797960a89d8a535e9e265 (diff) | |
download | llvm-6e815f733aa5b382bd8734b43dd0cc530d9fadbc.tar.gz |
Switch to gnu++11 for libFuzzer.
This library is an older snapshot that only works with C++11.
Bug: http://b/111067277
Test: Build with default cpp_std as C++17.
Change-Id: I3e49d5843bcde0a30f06802d21aa12a6a2140291
-rw-r--r-- | lib/Fuzzer/Android.bp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Fuzzer/Android.bp b/lib/Fuzzer/Android.bp index d8de2ebe5685..2bd550f60c77 100644 --- a/lib/Fuzzer/Android.bp +++ b/lib/Fuzzer/Android.bp @@ -25,6 +25,7 @@ cc_library_static { "-Wno-unused-lambda-capture", "-Wno-unused-parameter", ], + cpp_std: "gnu++11", srcs: ["*.cpp"], exclude_srcs: ["FuzzerMain.cpp"], sanitize: { @@ -43,6 +44,7 @@ cc_library_static { "-Wno-unused-lambda-capture", "-Wno-unused-parameter", ], + cpp_std: "gnu++11", srcs: ["FuzzerMain.cpp"], whole_static_libs: ["libLLVMFuzzerNoMain"], sanitize: { |