aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SConstruct6
1 files changed, 2 insertions, 4 deletions
diff --git a/SConstruct b/SConstruct
index d386d978da..ccc92168e9 100644
--- a/SConstruct
+++ b/SConstruct
@@ -195,16 +195,14 @@ if not GetOption("help"):
if env['standalone']:
env.Append(CXXFLAGS = ['-fPIC'])
- if 'clang++' not in cpp_compiler:
- env.Append(LINKFLAGS = ['-static-libgcc','-static-libstdc++'])
+ env.Append(LINKFLAGS = ['-static-libgcc','-static-libstdc++'])
if env['Werror']:
env.Append(CXXFLAGS = ['-Werror'])
if env['os'] == 'android':
env.Append(CPPDEFINES = ['ANDROID'])
- if 'clang++' not in cpp_compiler:
- env.Append(LINKFLAGS = ['-pie', '-static-libstdc++'])
+ env.Append(LINKFLAGS = ['-pie', '-static-libstdc++'])
elif env['os'] == 'bare_metal':
env.Append(LINKFLAGS = ['-static'])
env.Append(LINKFLAGS = ['-specs=rdimon.specs'])