diff options
author | msarett <msarett@google.com> | 2016-05-10 14:30:07 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-10 14:30:07 -0700 |
commit | fd0b33dee682ac7def48c414533561dff4336d2b (patch) | |
tree | d53eb8d4b4322a0569fc676eb1e2204ff690e679 | |
parent | 12dbb3947e1aaf205b4fcf13b40e54e50650eb37 (diff) |
Instruct yasm to compile position independent code on Android
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1965983002
Review-Url: https://codereview.chromium.org/1965983002
-rw-r--r-- | gyp/libjpeg-turbo.gyp | 2 |
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', ], }], ], |