提交 2075008f 编写于 作者: B Behdad Esfahbod

Use C++11

上级 dbdbfe3d
...@@ -80,6 +80,9 @@ if test "x$GCC" = "xyes"; then ...@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册