diff options
author | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-28 04:00:35 +0000 |
---|---|---|
committer | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-28 04:00:35 +0000 |
commit | 7a8966cf71df7b5b634870a1bae3b52a3dd18fa0 (patch) | |
tree | 6b33546f890a5eafc3aeb3370bb44e3451eabf4b /chrome/chrome_exe.gypi | |
parent | d1dd807734176d4f78a1362b155e164482926e17 (diff) | |
download | chromium_src-7a8966cf71df7b5b634870a1bae3b52a3dd18fa0.zip chromium_src-7a8966cf71df7b5b634870a1bae3b52a3dd18fa0.tar.gz chromium_src-7a8966cf71df7b5b634870a1bae3b52a3dd18fa0.tar.bz2 |
Disable pie whenever profiling is on
Position-independent executable support seems to break profiling support. This turns it off whenever the GYP define profiling is set to true. I'm not sure if there is any way to make profiling and pie work together.
BUG=none
TEST=compile with -Dprofiling=1, profile, get good data
Review URL: http://codereview.chromium.org/8051025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103087 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_exe.gypi')
-rw-r--r-- | chrome/chrome_exe.gypi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/chrome_exe.gypi b/chrome/chrome_exe.gypi index d6b1d57..a9511a7 100644 --- a/chrome/chrome_exe.gypi +++ b/chrome/chrome_exe.gypi @@ -89,7 +89,7 @@ # -pie) once we have a fix for remote gdb and are able to # correctly get section header offsets for pie # executables. Currently -pie breaks remote debugging. - ['disable_pie==1', { + ['profiling==1 or disable_pie==1', { 'ldflags': ['-nopie'], }, { # Building with -pie needs investigating on ARM. |