aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc b/emcc
index dc8bd630..7ed0adb2 100755
--- a/emcc
+++ b/emcc
@@ -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] = ''