Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: tools/gyp/configurations_make.gypi

Issue 1666063002: Fix ARM cross build: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/gyp/configurations_xcode.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gyp/configurations_make.gypi
diff --git a/tools/gyp/configurations_make.gypi b/tools/gyp/configurations_make.gypi
index a42eca31829fb8e2aacaceaf2103a92ccaf297c3..98d28fa532842f8d514760e4de656d35ef7c0da1 100644
--- a/tools/gyp/configurations_make.gypi
+++ b/tools/gyp/configurations_make.gypi
@@ -40,38 +40,77 @@
'Dart_Linux_ia32_Base': {
'abstract': 1,
- 'cflags': [ '-m32', '-msse2', '-mfpmath=sse' ],
- 'ldflags': [ '-m32', ],
+ 'cflags': [
+ '-m32',
+ '-msse2',
+ '-mfpmath=sse',
+ ],
+ 'ldflags': [
+ '-m32',
+ ],
},
'Dart_Linux_x64_Base': {
'abstract': 1,
- 'cflags': [ '-m64', '-msse2' ],
- 'ldflags': [ '-m64', ],
+ 'cflags': [
+ '-m64',
+ '-msse2',
+ ],
+ 'ldflags': [
+ '-m64',
+ ],
},
'Dart_Linux_simarm_Base': {
'abstract': 1,
- 'cflags': [ '-O3', '-m32', '-msse2', '-mfpmath=sse' ],
- 'ldflags': [ '-m32', ],
+ 'cflags': [
+ '-O3',
+ '-m32',
+ '-msse2',
+ '-mfpmath=sse',
+ ],
+ 'ldflags': [
+ '-m32',
+ ],
},
'Dart_Linux_simarmv6_Base': {
'abstract': 1,
- 'cflags': [ '-O3', '-m32', '-msse2', '-mfpmath=sse' ],
- 'ldflags': [ '-m32', ],
+ 'cflags': [
+ '-O3',
+ '-m32',
+ '-msse2',
+ '-mfpmath=sse',
+ ],
+ 'ldflags': [
+ '-m32',
+ ],
},
'Dart_Linux_simarmv5te_Base': {
'abstract': 1,
- 'cflags': [ '-O3', '-m32', '-msse2', '-mfpmath=sse' ],
- 'ldflags': [ '-m32', ],
+ 'cflags': [
+ '-O3',
+ '-m32',
+ '-msse2',
+ '-mfpmath=sse',
+ ],
+ 'ldflags': [
+ '-m32',
+ ],
},
'Dart_Linux_simarm64_Base': {
'abstract': 1,
- 'cflags': [ '-O3', '-m64', '-msse2', '-mfpmath=sse' ],
- 'ldflags': [ '-m64', ],
+ 'cflags': [
+ '-O3',
+ '-m64',
+ '-msse2',
+ '-mfpmath=sse',
+ ],
+ 'ldflags': [
+ '-m64',
+ ],
},
# ARM cross-build
@@ -87,8 +126,14 @@
],
}],
['_toolset=="host"', {
- 'cflags': ['-m32', '-msse2', '-mfpmath=sse' ],
- 'ldflags': ['-m32'],
+ 'cflags': [
+ '-m32',
+ '-msse2',
+ '-mfpmath=sse',
+ ],
+ 'ldflags': [
+ '-m32',
+ ],
}]]
},
@@ -116,8 +161,14 @@
],
}],
['_toolset=="host"', {
- 'cflags': ['-m32', '-msse2', '-mfpmath=sse' ],
- 'ldflags': ['-m32'],
+ 'cflags': [
+ '-m32',
+ '-msse2',
+ '-mfpmath=sse',
+ ],
+ 'ldflags': [
+ '-m32',
+ ],
}]]
},
@@ -147,8 +198,14 @@
],
}],
['_toolset=="host"', {
- 'cflags': ['-m32', '-msse2', '-mfpmath=sse' ],
- 'ldflags': ['-m32'],
+ 'cflags': [
+ '-m32',
+ '-msse2',
+ '-mfpmath=sse',
+ ],
+ 'ldflags': [
+ '-m32',
+ ],
}]]
},
@@ -170,24 +227,41 @@
'abstract': 1,
'target_conditions': [
['_toolset=="target"', {
- 'cflags': [ '-O3', ],
+ 'cflags': [
+ '-O3',
+ ],
}],
['_toolset=="host"', {
- 'cflags': ['-O3', '-m64', '-msse2'],
- 'ldflags': ['-m64'],
+ 'cflags': [
+ '-O3',
+ '-m64',
+ '-msse2',
+ ],
+ 'ldflags': [
+ '-m64',
+ ],
}]]
},
# ARM64 native build
'Dart_Linux_arm64_Base': {
'abstract': 1,
- 'cflags': [ '-O3', ],
+ 'cflags': [
+ '-O3',
+ ],
},
'Dart_Linux_simmips_Base': {
'abstract': 1,
- 'cflags': [ '-O3', '-m32', '-msse2', '-mfpmath=sse' ],
- 'ldflags': [ '-m32', ],
+ 'cflags': [
+ '-O3',
+ '-m32',
+ '-msse2',
+ '-mfpmath=sse',
+ ],
+ 'ldflags': [
+ '-m32',
+ ],
},
# MIPS cross-build
@@ -206,8 +280,15 @@
],
}],
['_toolset=="host"',{
- 'cflags': [ '-O3', '-m32', '-msse2', '-mfpmath=sse' ],
- 'ldflags': [ '-m32' ],
+ 'cflags': [
+ '-O3',
+ '-m32',
+ '-msse2',
+ '-mfpmath=sse',
+ ],
+ 'ldflags': [
+ '-m32',
+ ],
}]]
},
@@ -229,7 +310,7 @@
# Clang on Linux will still omit frame pointers from leaf
# functions unless told otherwise:
# (note this flag only works on recent GCC versions.)
- '-mno-omit-leaf-frame-pointer',
+ #'-mno-omit-leaf-frame-pointer',
],
},
@@ -242,7 +323,7 @@
# Clang on Linux will still omit frame pointers from leaf
# functions unless told otherwise:
# (note this flag only works on recent GCC versions.)
- '-mno-omit-leaf-frame-pointer',
+ #'-mno-omit-leaf-frame-pointer',
],
'ldflags': [
'-Wl,--gc-sections',
« no previous file with comments | « no previous file | tools/gyp/configurations_xcode.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698