Use C++11

This commit is contained in:
Behdad Esfahbod 2017-10-15 12:12:10 +02:00
parent dbdbfe3d7b
commit 2075008f3e
1 changed files with 3 additions and 0 deletions

View 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"