aboutsummaryrefslogtreecommitdiff
path: root/tools/shared.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/shared.py')
-rw-r--r--tools/shared.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/shared.py b/tools/shared.py
index 6aa20872..a33f16a5 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -397,9 +397,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'
+# Target choice. Must be synced with src/settings.js (TARGET_*)
+LLVM_TARGET = os.environ.get('EMCC_LLVM_TARGET') or 'i386-pc-linux-gnu' # 'le32-unknown-nacl'
try:
COMPILER_OPTS # Can be set in EM_CONFIG, optionally