aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2016-05-10 14:30:07 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-10 14:30:07 -0700
commitfd0b33dee682ac7def48c414533561dff4336d2b (patch)
treed53eb8d4b4322a0569fc676eb1e2204ff690e679 /gyp
parent12dbb3947e1aaf205b4fcf13b40e54e50650eb37 (diff)
Instruct yasm to compile position independent code on Android
Diffstat (limited to 'gyp')
-rw-r--r--gyp/libjpeg-turbo.gyp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gyp/libjpeg-turbo.gyp b/gyp/libjpeg-turbo.gyp
index 7da66a15ff..4df410cbfc 100644
--- a/gyp/libjpeg-turbo.gyp
+++ b/gyp/libjpeg-turbo.gyp
@@ -259,12 +259,14 @@
'yasm_flags': [
'-D__x86__',
'-DELF',
+ '-DPIC',
],
}, {
'yasm_format': '-felf64',
'yasm_flags': [
'-D__x86_64__',
'-DELF',
+ '-DPIC',
],
}],
],