From bbe8b00d6a5704f547f8dcf78ff462c92ce10c17 Mon Sep 17 00:00:00 2001 From: jochen Date: Tue, 23 Dec 2014 11:22:53 -0800 Subject: [PATCH] Don't pass -pie when building a shared library build on android BUG=none R=ulan@chromium.org LOG=n Review URL: https://codereview.chromium.org/822933002 Cr-Commit-Position: refs/heads/master@{#25938} --- build/android.gypi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/android.gypi b/build/android.gypi index b7fc714..5d3b25a 100644 --- a/build/android.gypi +++ b/build/android.gypi @@ -215,7 +215,7 @@ '-fno-stack-protector', ], }], - ['target_arch=="arm" or target_arch=="arm64" or target_arch=="x64"', { + ['(target_arch=="arm" or target_arch=="arm64" or target_arch=="x64") and component!="shared_library"', { 'cflags': [ '-fPIE', ], -- 2.7.4