summaryrefslogtreecommitdiffstats
path: root/third_party/mesa/mesa.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/mesa/mesa.gyp')
-rw-r--r--third_party/mesa/mesa.gyp5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/mesa/mesa.gyp b/third_party/mesa/mesa.gyp
index 3725736..e177ad55 100644
--- a/third_party/mesa/mesa.gyp
+++ b/third_party/mesa/mesa.gyp
@@ -19,6 +19,11 @@
'HAVE_STRNLEN',
],
}],
+ ['OS=="linux"', {
+ 'cflags': [
+ '-fPIC',
+ ],
+ }],
],
'defines': [
# For Mesa