Linux: Remove references to '-nopie' now that it's fixed in cros and doesn't exist on Pangolin.
BUG=cros:15266,79722 Review URL: http://codereview.chromium.org/9414022 git-svn-id: http://src.chromium.org/svn/trunk/src/build@122387 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
ef7c7bd927
Коммит
e29444abc6
18
common.gypi
18
common.gypi
|
@ -471,10 +471,6 @@
|
|||
# Use system yasm instead of bundled one.
|
||||
'use_system_yasm%': 0,
|
||||
|
||||
# Default to enabled PIE; this is important for ASLR but we need to be
|
||||
# able to turn it off for remote debugging on Chromium OS
|
||||
'linux_disable_pie%': 0,
|
||||
|
||||
# The release channel that this build targets. This is used to restrict
|
||||
# channel-specific build options, like which installer packages to create.
|
||||
# The default is 'all', which does no channel-specific filtering.
|
||||
|
@ -1893,20 +1889,6 @@
|
|||
'-fPIC',
|
||||
],
|
||||
}],
|
||||
# TODO(rkc): Currently building Chrome with the PIE flag causes
|
||||
# remote debugging to break (remote debugger does not get correct
|
||||
# section header offsets hence causing all symbol handling to go
|
||||
# kaboom). See crosbug.com/15266
|
||||
# Remove this flag once this issue is fixed.
|
||||
['linux_disable_pie==1', {
|
||||
'target_conditions': [
|
||||
['_type=="executable"', {
|
||||
'ldflags': [
|
||||
'-nopie',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['sysroot!=""', {
|
||||
'target_conditions': [
|
||||
['_toolset=="target"', {
|
||||
|
|
Загрузка…
Ссылка в новой задаче