Skip to content
  • Lubomir Rintel's avatar
    build: set -Werror when checking whether a -W<warning> option works · b38bc157
    Lubomir Rintel authored
    Otherwise the check is effectively a no-op and unknown options still get
    turned on. This results in unknown warnings when build without
    --with-extra-warnings=error:
    
      warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option]
    b38bc157