Use C++11
authorBehdad Esfahbod <behdad@behdad.org>
Sun, 15 Oct 2017 10:12:10 +0000 (12:12 +0200)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 15 Oct 2017 10:12:10 +0000 (12:12 +0200)
configure.ac

index 5b0797f995d014287a24c8f991bab048d5c6fcab..ba093929af7971a2e5ab2494e95e4edbba7d50a5 100644 (file)
@@ -80,6 +80,9 @@ if test "x$GCC" = "xyes"; then
        # Make symbols link locally
        LDFLAGS="$LDFLAGS -Bsymbolic-functions"
 
+       # Choose C++ version
+       CXXFLAGS="$CXXFLAGS -std=c++11"
+
        # Make sure we don't link to libstdc++
        CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"