diff options
author | Araq <rumpf_a@web.de> | 2017-01-31 13:26:14 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2017-01-31 13:26:14 +0100 |
commit | 97d91bb6b73034957066968e34ce1446397ffe3c (patch) | |
tree | bbd8a11a82d15e5c76d70f3bb2860f888248e8d7 | |
parent | 86833b53a4560c104e11e894b49b546eb0e4a38b (diff) | |
parent | 8071648129909d47ff7d8d071938ba4c078fc7e4 (diff) | |
download | Nim-97d91bb6b73034957066968e34ce1446397ffe3c.tar.gz |
Merge branch 'devel' into another-channel-fix
-rw-r--r-- | config/nim.cfg | 10 | ||||
-rw-r--r-- | tools/nimweb.nim | 5 |
2 files changed, 5 insertions, 10 deletions
diff --git a/config/nim.cfg b/config/nim.cfg index 48ab0d7bd..a5c9eeccd 100644 --- a/config/nim.cfg +++ b/config/nim.cfg @@ -100,7 +100,7 @@ path="$lib/pure" @if windows: #gcc.path = r"$nim\dist\mingw\bin" @if gcc: - #tlsEmulation:on + tlsEmulation:on @end @end @@ -110,13 +110,7 @@ path="$lib/pure" gcc.options.always = "-w" gcc.cpp.options.always = "-w -fpermissive" @else: - @if cpu32: - gcc.options.always = "-w -m32" - gcc.options.linker = "-m32" - @else: - gcc.options.always = "-w -m64" - gcc.options.linker = "-m64" - @end + gcc.options.always = "-w" gcc.cpp.options.always = "-w -fpermissive" @end diff --git a/tools/nimweb.nim b/tools/nimweb.nim index 9a21a0fb5..2c905057e 100644 --- a/tools/nimweb.nim +++ b/tools/nimweb.nim @@ -322,11 +322,12 @@ proc buildPdfDoc(c: var TConfigData, destPath: string) = if os.execShellCmd("pdflatex -version") != 0: echo "pdflatex not found; no PDF documentation generated" else: + const pdflatexcmd = "pdflatex -interaction=nonstopmode " for d in items(c.pdf): exec(findNim() & " rst2tex $# $#" % [c.nimArgs, d]) # call LaTeX twice to get cross references right: - exec("pdflatex " & changeFileExt(d, "tex")) - exec("pdflatex " & changeFileExt(d, "tex")) + exec(pdflatexcmd & changeFileExt(d, "tex")) + exec(pdflatexcmd & changeFileExt(d, "tex")) # delete all the crappy temporary files: let pdf = splitFile(d).name & ".pdf" let dest = destPath / pdf |