diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2015-06-17 20:50:44 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2015-06-17 20:50:44 +0200 |
commit | 59a2d3b8143c4632ba2e4fe437bfb49d625cd0f2 (patch) | |
tree | 8c65fad2bcf5c5af5b42de4f0eab8090e9d86e6f | |
parent | 314fe6b54a4d374c0287e239d547ef095dd45440 (diff) | |
parent | 80d6b0e9ca3c58d33d17c07f14744e8425864d8f (diff) | |
download | Nim-59a2d3b8143c4632ba2e4fe437bfb49d625cd0f2.tar.gz |
Merge pull request #2944 from apense/patch-5
Fixed gcc batch issue
-rw-r--r-- | tools/niminst/buildbat.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/niminst/buildbat.tmpl b/tools/niminst/buildbat.tmpl index 3a11715bf..2c6a2b5a8 100644 --- a/tools/niminst/buildbat.tmpl +++ b/tools/niminst/buildbat.tmpl @@ -18,13 +18,13 @@ REM call the compiler: # for ff in items(c.cfiles[winIndex][cpuIndex]): # let f = ff.toWin ECHO %CC% %COMP_FLAGS% -Ic_code -c ?{f} -o ?{changeFileExt(f, "o")} -%CC% %COMP_FLAGS% -Ic_code -c ?{f} -o ?{changeFileExt(f, "o")} +CALL %CC% %COMP_FLAGS% -Ic_code -c ?{f} -o ?{changeFileExt(f, "o")} # linkCmd.add(" " & changeFileExt(f, "o")) IF ERRORLEVEL 1 (GOTO:END) # end for ECHO %LINKER% -o ?{"%BIN_DIR%"\toLower(c.name)}.exe ?linkCmd %LINK_FLAGS% -%LINKER% -o ?{"%BIN_DIR%"\toLower(c.name)}.exe ?linkCmd %LINK_FLAGS% +CALL %LINKER% -o ?{"%BIN_DIR%"\toLower(c.name)}.exe ?linkCmd %LINK_FLAGS% # end block |