This reverts commit 2f2761fa47f9eb34783269b453cdc8e76995c6d2.
@@ -74,8 +74,6 @@
},
'cflags': [
'<!@(<(pkg-config) --cflags <(linux_system_libraries))',
- # Needed for PIE
- '-fPIC',
],
'direct_dependent_settings': {
@@ -232,7 +232,6 @@
['OS=="linux"', {
'-Wno-empty-body',
}], # OS=="linux"
['OS=="win"', {
@@ -235,16 +235,6 @@
- 'link_settings': {
- 'ldflags': [
- # Build as Position-Independent Executable to mitigate exploitations.
- '-pie',
- ],
- },
- 'cflags_cc': [
- ]
}, # target <(project_name)
@@ -392,7 +382,6 @@
# Required settings of using breakpad.
'cflags_cc': [
'include_dirs': [
'vendor/breakpad/src',