summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 8b79110..164095d 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -193,6 +193,8 @@
# Enable TCMalloc.
'linux_use_tcmalloc%': 0,
+ 'linux_fpic%': 0,
+
# Set to select the Title Case versions of strings in GRD files.
'use_titlecase_in_grd_files%': 0,
@@ -816,6 +818,11 @@
}],
],
}],
+ ['linux_fpic==1', {
+ 'cflags': [
+ '-fPIC',
+ ],
+ }],
['sysroot!=""', {
'target_conditions': [
['_toolset=="target"', {