aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-02-26 12:44:22 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-02-26 12:44:22 -0800
commit2708d551bd31338fbfd9f9e11716451443c04dbb (patch)
treec160fe3fab6ad0c388b18adfd1b1e6b52861f5b8 /src
parent28cd0d4f2be20241b3e3b090156775c29b695f9a (diff)
use le32 target when fastcomp is disabled, so we do not need a fastcomp build, and also fixes sqlite test
Diffstat (limited to 'src')
-rw-r--r--src/intertyper.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/intertyper.js b/src/intertyper.js
index 7743ce62..323787ac 100644
--- a/src/intertyper.js
+++ b/src/intertyper.js
@@ -350,7 +350,9 @@ function intertyper(lines, sidePass, baseLineNums) {
triple = triple.substr(1, triple.length-2);
var expected = TARGET_ASMJS_UNKNOWN_EMSCRIPTEN ? 'asmjs-unknown-emscripten' : 'i386-pc-linux-gnu';
if (triple !== expected) {
- warn('using an unexpected LLVM triple: ' + [triple, ' !== ', expected] + ' (are you using emcc for everything and not clang?)');
+ if (!(TARGET_ASMJS_UNKNOWN_EMSCRIPTEN && triple === 'le32-unknown-nacl')) {
+ warn('using an unexpected LLVM triple: ' + [triple, ' !== ', expected] + ' (are you using emcc for everything and not clang?)');
+ }
}
}
return null;