use a full MD5 hash with no collision detection for proc names

This commit is contained in:
Araq 2016-11-08 08:36:33 +01:00
commit 72af7e6821
5 changed files with 127 additions and 64 deletions

View file

@ -16,7 +16,7 @@ import
lists, ropes, os, strutils, osproc, platform, condsyms, options, msgs,
securehash, streams
from debuginfo import writeDebugInfo
#from debuginfo import writeDebugInfo
type
TSystemCC* = enum
@ -734,8 +734,8 @@ proc callCCompiler*(projectfile: string) =
if not noAbsolutePaths():
if not exefile.isAbsolute():
exefile = joinPath(splitFile(projectfile).dir, exefile)
if optCDebug in gGlobalOptions:
writeDebugInfo(exefile.changeFileExt("ndb"))
#if optCDebug in gGlobalOptions:
# writeDebugInfo(exefile.changeFileExt("ndb"))
exefile = quoteShell(exefile)
let linkOptions = getLinkOptions() & " " &
getConfigVar(cCompiler, ".options.linker")