mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
Fix error when cross compilation
This commit is contained in:
@@ -245,7 +245,7 @@
|
||||
}], # OS=="win"
|
||||
],
|
||||
}],
|
||||
['OS=="linux" and _target_name in ["dump_syms", "node"]', {
|
||||
['OS=="linux" and _toolset=="target" and _target_name in ["dump_syms", "node"]', {
|
||||
'conditions': [
|
||||
['libchromiumcontent_component==0', {
|
||||
'libraries': [
|
||||
|
||||
@@ -129,7 +129,7 @@
|
||||
'OTHER_LDFLAGS': [ '-stdlib=libc++' ],
|
||||
},
|
||||
}],
|
||||
['OS=="linux"', {
|
||||
['OS=="linux" and _toolset=="target"', {
|
||||
'cflags_cc': [
|
||||
'-std=gnu++14',
|
||||
'-nostdinc++',
|
||||
@@ -140,6 +140,11 @@
|
||||
'-nostdlib++',
|
||||
],
|
||||
}],
|
||||
['OS=="linux" and _toolset=="host"', {
|
||||
'cflags_cc': [
|
||||
'-std=gnu++14',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
}], # clang==1
|
||||
|
||||
Reference in New Issue
Block a user