aboutsummaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index e7504228d3..9f772f408b 100644
--- a/SConstruct
+++ b/SConstruct
@@ -188,7 +188,7 @@ if env['Werror']:
if env['os'] == 'android':
env.Append(CPPDEFINES = ['ANDROID'])
- env.Append(LINKFLAGS = ['-pie'])
+ env.Append(LINKFLAGS = ['-pie', '-static-libstdc++'])
elif env['os'] == 'bare_metal':
env.Append(LINKFLAGS = ['-static'])
env.Append(LINKFLAGS = ['-specs=rdimon.specs'])