Guest User

Untitled

a guest
Feb 21st, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. if ENV['ANAL'] or ENV['DOMAIN'] =~ /zenspider/ then
  2. builder.add_compile_flags "-Wall"
  3. builder.add_compile_flags "-W"
  4. builder.add_compile_flags "-Wpointer-arith"
  5. builder.add_compile_flags "-Wcast-qual"
  6. builder.add_compile_flags "-Wcast-align"
  7. builder.add_compile_flags "-Wwrite-strings"
  8. builder.add_compile_flags "-Wmissing-noreturn"
  9. builder.add_compile_flags "-Wno-long-long"
  10.  
  11. # NOTE: this flag doesn't work w/ gcc 2.95.x - the FreeBSD default
  12. # builder.add_compile_flags "-Wno-strict-aliasing"
  13. # ruby.h screws these up hardcore:
  14. # builder.add_compile_flags "-Wundef"
  15. # builder.add_compile_flags "-Wconversion"
  16. # builder.add_compile_flags "-Wstrict-prototypes"
  17. # builder.add_compile_flags "-Wmissing-prototypes"
  18. # builder.add_compile_flags "-Wsign-compare"
  19. end
Add Comment
Please, Sign In to add comment