summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
authorapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-03 19:07:20 +0000
committerapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-03 19:07:20 +0000
commitd60ae27799252d09a2b88bc6946d39b612e7183c (patch)
treea18c4c0a71298c34c8a8b70c98c0204b259b9e36 /third_party
parent978720676b6f998a7422cf7ffe5be23d98b696e0 (diff)
downloadchromium_src-d60ae27799252d09a2b88bc6946d39b612e7183c.zip
chromium_src-d60ae27799252d09a2b88bc6946d39b612e7183c.tar.gz
chromium_src-d60ae27799252d09a2b88bc6946d39b612e7183c.tar.bz2
Made OSMesa shared library position independent on linux.
This is an attempt to fix this valgrind error: http://build.chromium.org/p/chromium.memory/builders/Linux%20Tests%20(valgrind)(2)/builds/210/steps/memory%20test:%20ui_1/logs/stdio It appears mmap might have been trying to map libosmesa.so to a fixed address. TEST=try BUG=61601 Review URL: http://codereview.chromium.org/4318005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64941 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-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