aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-02 10:28:54 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-08-02 10:28:54 -0700
commit767b7f70523b5b66aac1594c4a3839bd4deaa5e9 (patch)
tree0b883300296b39dea39d7f2ee06826e717cfa948 /emcc
parent55164c9b36d232a566f94e2657bbf9926fb5ef6d (diff)
add default extra arguments to beginning of commandline arguments, so that users can override them (not recommended though)
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc b/emcc
index e92dac87..6ccb1a73 100755
--- a/emcc
+++ b/emcc
@@ -1010,7 +1010,7 @@ try:
logging.error('no input files\nnote that input files without a known suffix are ignored, make sure your input files end with one of: ' + str(SOURCE_SUFFIXES + BITCODE_SUFFIXES + DYNAMICLIB_SUFFIXES + STATICLIB_SUFFIXES + ASSEMBLY_SUFFIXES))
exit(0)
- newargs += CC_ADDITIONAL_ARGS
+ newargs = CC_ADDITIONAL_ARGS + newargs
assert not (Compression.on and final_suffix != 'html'), 'Compression only works when generating HTML'