summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 01136dc..8163dd0 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -725,8 +725,8 @@
# flag.
'cflags!': [ '-fvisibility=hidden' ],
'conditions': [
- ['target_arch=="x64"', {
- # Shared libraries need -fPIC on x86-64
+ ['target_arch=="x64" or target_arch=="arm"', {
+ # Shared libraries need -fPIC on x86-64 and arm
'cflags': ['-fPIC']
}]
],