• Bobby Powers's avatar
    dist: add clang specific -Wno options · 7c2bfa4f
    Bobby Powers authored
    Clang 3.1 has more warnings enabled by default than GCC.
    Combined with -Werror, they cause the build to fail
    unnecessarily.  if the name of our compiler ends in "clang",
    add the necessary extra -Wno options.  Ideally we would add
    these flags unconditionally, as GCC is supposed to ignore
    unknown -Wno flags, but apple's llvm-gcc doesn't.
    
    Fixes #2878.
    
    R=rsc, dave
    CC=golang-dev
    https://golang.org/cl/5673055
    7c2bfa4f
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...