mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
This reverts commit 2f2761fa47.
This commit is contained in:
@@ -74,8 +74,6 @@
|
||||
},
|
||||
'cflags': [
|
||||
'<!@(<(pkg-config) --cflags <(linux_system_libraries))',
|
||||
# Needed for PIE
|
||||
'-fPIC',
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'cflags': [
|
||||
|
||||
@@ -232,7 +232,6 @@
|
||||
['OS=="linux"', {
|
||||
'cflags': [
|
||||
'-Wno-empty-body',
|
||||
'-fPIC',
|
||||
],
|
||||
}], # OS=="linux"
|
||||
['OS=="win"', {
|
||||
|
||||
11
electron.gyp
11
electron.gyp
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user