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

Unified Diff: build/common.gypi

Issue 10268010: Clean up Makefile, enable MIPS cross-compilation (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 8 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 | « build/armu.gypi ('k') | build/gyp_v8 » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 21fbb742b43ea80b005b50260b9105794c35615c..0b758fe3bd14dad46fbc131aad01953f0bbf5615 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -173,8 +173,11 @@
'defines': [
'V8_TARGET_ARCH_MIPS',
],
+ 'variables': {
+ 'mipscompiler': '<!((echo | $(echo ${CXX:-$(which g++)}) -EL -E - > /dev/null 2>&1) && echo -n "yes" || echo -n "no")',
palfia 2012/05/02 18:39:21 This command: echo | $(echo ${CXX:-$(which g++)})
palfia 2012/05/02 18:54:50 Small typo: "-march=mips32r3" should be "-march=mi
+ },
'conditions': [
- [ 'target_arch=="mips"', {
+ ['mipscompiler=="yes"', {
'target_conditions': [
['_toolset=="target"', {
'cflags': ['-EL'],
« no previous file with comments | « build/armu.gypi ('k') | build/gyp_v8 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698