diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2021-05-28 02:24:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-28 02:24:30 (GMT) |
commit | dfe4575914e7998e266b3a56c3acee321662ab20 (patch) | |
tree | 568fbe4453b82faaf66738cf19492f93b63a1322 /config/clang-cxxflags | |
parent | 168be9a0f0745261d28d60acea9e9fa6cfa93861 (diff) | |
download | hdf5-dfe4575914e7998e266b3a56c3acee321662ab20.zip hdf5-dfe4575914e7998e266b3a56c3acee321662ab20.tar.gz hdf5-dfe4575914e7998e266b3a56c3acee321662ab20.tar.bz2 |
Require a C++11 compiler to build the C++ wrappers (#693)
* Committing clang-format changes
* Requires a C++11 compiler to build the C++ wrappers
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'config/clang-cxxflags')
-rw-r--r-- | config/clang-cxxflags | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/config/clang-cxxflags b/config/clang-cxxflags index e7ab6d8..c585ce7 100644 --- a/config/clang-cxxflags +++ b/config/clang-cxxflags @@ -113,19 +113,7 @@ if test "X-clang" = "X-$cxx_vendor" -o "X-Apple LLVM" = "X-$cxx_vendor"; then ;; esac - case "$host_os-$host_cpu" in - # cygwin needs the "-std=c99" flag removed, so make - # a specific case for Cygwin without the flag and a default - # case to add the flag everywhere else - cygwin-*) - ;; - - *) - H5_CXXFLAGS="$H5_CXXFLAGS -std=c++11" - ;; - esac - - H5_CXXFLAGS="$H5_CXXFLAGS $arch" + H5_CXXFLAGS="$H5_CXXFLAGS $arch -std=c++11" ############## # Production # |