diff options
author | Jerome Jiang <jianj@google.com> | 2021-03-03 17:33:30 -0800 |
---|---|---|
committer | Jerome Jiang <jianj@google.com> | 2021-03-04 11:16:06 -0800 |
commit | f7c386bab0e637dff65c3fe546a83e9564028aff (patch) | |
tree | 51f0ae3c97d3aff11cd5096e335a5876eead0627 /configure | |
parent | ebefb90b75f07ea5ab06d6b2a5ea5355c843d266 (diff) | |
download | libvpx-f7c386bab0e637dff65c3fe546a83e9564028aff.tar.gz |
Use -std=gnu++11 instead of -std=c++11
Cygwin and msys2 have stricter compliance requirement over standard c
headers.
Bug: webm:1708
Change-Id: I676b1227b9dd304149e50016468df0f057c6a78f
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -731,33 +731,33 @@ process_toolchain() { soft_enable libyuv ;; *-android-*) - check_add_cxxflags -std=c++11 && soft_enable webm_io + check_add_cxxflags -std=gnu++11 && soft_enable webm_io soft_enable libyuv # GTestLog must be modified to use Android logging utilities. ;; *-darwin-*) - check_add_cxxflags -std=c++11 + check_add_cxxflags -std=gnu++11 # iOS/ARM builds do not work with gtest. This does not match # x86 targets. ;; *-iphonesimulator-*) - check_add_cxxflags -std=c++11 && soft_enable webm_io + check_add_cxxflags -std=gnu++11 && soft_enable webm_io soft_enable libyuv ;; *-win*) # Some mingw toolchains don't have pthread available by default. # Treat these more like visual studio where threading in gtest # would be disabled for the same reason. - check_add_cxxflags -std=c++11 && soft_enable unit_tests \ + check_add_cxxflags -std=gnu++11 && soft_enable unit_tests \ && soft_enable webm_io check_cxx "$@" <<EOF && soft_enable libyuv int z; EOF ;; *) - enabled pthread_h && check_add_cxxflags -std=c++11 \ + enabled pthread_h && check_add_cxxflags -std=gnu++11 \ && soft_enable unit_tests - check_add_cxxflags -std=c++11 && soft_enable webm_io + check_add_cxxflags -std=gnu++11 && soft_enable webm_io check_cxx "$@" <<EOF && soft_enable libyuv int z; EOF |