diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-12-03 13:36:37 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-03 13:36:37 -0800 |
commit | 30f484d68f8bc1db37862f820636dc763c7b253c (patch) | |
tree | 279f056d2fd43ceaf65f1df9cb569024d9cd4496 | |
parent | 98d730f930f1054afa1dee358a203e2378e5afef (diff) |
ignore argument after -I -L for purposes of input detection in emcc
-rwxr-xr-x | emcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -751,7 +751,7 @@ try: if i > 0: prev = newargs[i-1] - if prev in ['-MT', '-install_name']: continue # ignore this gcc-style argument + if prev in ['-MT', '-install_name', '-I', '-L']: continue # ignore this gcc-style argument if not arg.startswith('-') and (arg.endswith(SOURCE_SUFFIXES + BITCODE_SUFFIXES + DYNAMICLIB_SUFFIXES + ASSEMBLY_SUFFIXES) or shared.Building.is_ar(arg)): # we already removed -o <target>, so all these should be inputs newargs[i] = '' |