Revert "build: enable PIE when compiling Linux builds, fix #14961. (#15148)"

This reverts commit 2f2761fa47.
This commit is contained in:
Samuel Attard
2018-10-18 14:12:33 +11:00
parent 00f40e84db
commit e00d217cfb
3 changed files with 0 additions and 14 deletions

View File

@@ -74,8 +74,6 @@
},
'cflags': [
'<!@(<(pkg-config) --cflags <(linux_system_libraries))',
# Needed for PIE
'-fPIC',
],
'direct_dependent_settings': {
'cflags': [

View File

@@ -232,7 +232,6 @@
['OS=="linux"', {
'cflags': [
'-Wno-empty-body',
'-fPIC',
],
}], # OS=="linux"
['OS=="win"', {

View File

@@ -235,16 +235,6 @@
],
},
],
'link_settings': {
'ldflags': [
# Build as Position-Independent Executable to mitigate exploitations.
'-pie',
],
},
'cflags_cc': [
# Needed for PIE
'-fPIC',
]
}], # OS=="linux"
],
}, # target <(project_name)
@@ -392,7 +382,6 @@
# Required settings of using breakpad.
'cflags_cc': [
'-Wno-empty-body',
'-fPIC',
],
'include_dirs': [
'vendor/breakpad/src',