roc-toolkit/roc-toolkit-0.1.5-no-explicit-cpp98.patch

17 lines
414 B
Diff
Raw Normal View History

diff --git a/SConstruct b/SConstruct
index 7e02af7..224f1f8 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1069,11 +1069,6 @@ if platform in ['linux']:
2022-12-24 22:19:26 +00:00
env.AddPkgConfigLibs(['log', 'android'])
2022-12-24 22:19:26 +00:00
if meta.compiler in ['gcc', 'clang']:
- if not meta.platform in ['android']:
- env.Append(CXXFLAGS=[
- '-std=c++98',
- ])
-
env.Append(CXXFLAGS=[
'-fno-exceptions',
])