Edit

IABSD.fr/ports/lang

Branch :

  • Show log

    Commit

  • Author : kili
    Date : 2017-04-30 21:33:26
    Hash : e177836f
    Message : Suppress a lot of (not all) warnings when using clang: ghc uses cc for generating object files from assembler files and passes the CONF_CC_OPTS_STAGE? flags to it, which clang doesn't like, so add -Wno-unused-command-line-argument to the flags passed to cc if it's clang. To let this work for the bootstrap compiler, properly CONFIGURE_ENV when installing the bootstrap (in post-patch:). This also makes the hack patching the bootstrap/bin/ghc script in post-patch: obsolete. prodded by (and with some hints from) espie@ ~here are still a lot of warnings, most about macros #defined in storage/ClosureMacros.h. Those should be fixed in a separate step, probably after an update to ghc-8.