mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Use --as-needed for mips64el
This is required to avoid linking unnecessary system libraries which may conflict with the ones used in Chromium. As side effect we have to turn off official build for mips64el.
This commit is contained in:
@@ -277,14 +277,10 @@
|
||||
# Specifically tell the linker to perform optimizations.
|
||||
# See http://lwn.net/Articles/192624/ .
|
||||
'-Wl,-O1',
|
||||
'-Wl,--as-needed',
|
||||
'-Wl,--gc-sections',
|
||||
],
|
||||
}], # OS=="linux"
|
||||
['OS=="linux" and target_arch!="mips64el"', {
|
||||
'ldflags': [
|
||||
'-Wl,--as-needed',
|
||||
],
|
||||
}],
|
||||
['OS=="linux" and target_arch in ["ia32", "x64", "arm64"]', {
|
||||
'cflags': [
|
||||
'-flto',
|
||||
|
||||
2
vendor/libchromiumcontent
vendored
2
vendor/libchromiumcontent
vendored
Submodule vendor/libchromiumcontent updated: 766a84fba2...af80733ab3
Reference in New Issue
Block a user