aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-04-30 11:15:44 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-04-30 11:15:44 -0700
commit0cbf3f44082077c2ed2afe7f91db68dc53a4c922 (patch)
tree4cb420f839e01bb026b3f3974b848d3b0a3e03f2
parent623871bc2baf67b385bdd031ed5ace682941de8d (diff)
switch back to x86 target in preparation to merge to incoming
-rw-r--r--src/settings.js4
-rw-r--r--tools/shared.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/settings.js b/src/settings.js
index 82cb411b..2e4c2550 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -17,8 +17,8 @@ var QUANTUM_SIZE = 4; // This is the size of an individual field in a structure.
//
// Changing this from the default of 4 is deprecated.
-var TARGET_X86 = 0; // For le32-unknown-nacl
-var TARGET_LE32 = 1; // For i386-pc-linux-gnu
+var TARGET_X86 = 1; // For le32-unknown-nacl
+var TARGET_LE32 = 0; // For i386-pc-linux-gnu
var CORRECT_SIGNS = 1; // Whether we make sure to convert unsigned values to signed values.
// Decreases performance with additional runtime checks. Might not be
diff --git a/tools/shared.py b/tools/shared.py
index d215daad..6aa20872 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -398,8 +398,8 @@ except:
# Additional compiler options
# Target choice. Only one of these must be enabled, and synced with src/settings.js (TARGET_*)
-LLVM_TARGET = 'le32-unknown-nacl'
-#LLVM_TARGET = 'i386-pc-linux-gnu'
+#LLVM_TARGET = 'le32-unknown-nacl'
+LLVM_TARGET = 'i386-pc-linux-gnu'
try:
COMPILER_OPTS # Can be set in EM_CONFIG, optionally