compiler/ecc; ecp: Parsing -s for Emscripten's emcc
authorJerome St-Louis <jerome@ecere.com>
Tue, 2 Aug 2016 23:56:22 +0000 (19:56 -0400)
committerJerome St-Louis <jerome@ecere.com>
Tue, 2 Aug 2016 23:56:22 +0000 (19:56 -0400)
compiler/ecc/ecc.ec
compiler/ecp/ecp.ec

index 900a267..f4f326b 100644 (file)
@@ -361,7 +361,7 @@ class CompilerApp : Application
                else
                   valid = false;
             }
-            else if(!strcmp(arg+1, "isystem") || !strcmp(arg+1, "isysroot"))
+            else if(!strcmp(arg+1, "isystem") || !strcmp(arg+1, "isysroot") || !strcmp(arg+1, "s"))
             {
                if(c + 1 < argc)
                {
index 51e22fe..26a130c 100644 (file)
@@ -1434,7 +1434,7 @@ class PrecompApp : Application
                else
                   valid = false;
             }
-            else if(!strcmp(arg+1, "isystem") || !strcmp(arg+1, "isysroot"))
+            else if(!strcmp(arg+1, "isystem") || !strcmp(arg+1, "isysroot") || !strcmp(arg+1, "s"))
             {
                if(c + 1 < argc)
                {