Use C++11
This commit is contained in:
parent
dbdbfe3d7b
commit
2075008f3e
|
@ -80,6 +80,9 @@ if test "x$GCC" = "xyes"; then
|
||||||
# Make symbols link locally
|
# Make symbols link locally
|
||||||
LDFLAGS="$LDFLAGS -Bsymbolic-functions"
|
LDFLAGS="$LDFLAGS -Bsymbolic-functions"
|
||||||
|
|
||||||
|
# Choose C++ version
|
||||||
|
CXXFLAGS="$CXXFLAGS -std=c++11"
|
||||||
|
|
||||||
# Make sure we don't link to libstdc++
|
# Make sure we don't link to libstdc++
|
||||||
CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"
|
CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue