• Sylvain Henry's avatar
    Don't build extra object with -no-hs-main · a01e78cc
    Sylvain Henry authored
    We don't need to compile/link an additional empty C file when it is not
    needed.
    
    This patch may also fix #18938 by avoiding trying to lookup the RTS unit
    when there is none (yet) in the unit database.
    a01e78cc
ExtraObj.hs 10.1 KB