Advertisement
vertexSymphony

/etc/make.conf

Jul 31st, 2011
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.67 KB | None | 0 0
  1. ########################################################
  2. # Clang-related stuff
  3. ########################################################
  4.  
  5. .if !empty(.CURDIR:M/usr/src/*) && exists(/usr/bin/clang) # && defined(USE_CLANG)
  6.  
  7. .if !defined(CC) || ${CC} == "cc"
  8. CC=clang
  9. .endif
  10. .if !defined(CXX) || ${CXX} == "c++"
  11. CXX=clang++
  12. .endif
  13.  
  14. # Don't die on warnings
  15. NO_WERROR=
  16. WERROR=
  17.  
  18. CFLAGS+="-march=native"
  19.  
  20. # Don't forget this when using Jails!
  21. #NO_FSCHG=
  22.  
  23. .endif # clang for base system
  24.  
  25. .if defined(USE_CLANG)
  26. .if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/bin/clang)
  27. CC=clang
  28. CXX=clang++
  29. .endif
  30. .endif
  31.  
  32. # added by use.perl 2011-07-16 13:38:03
  33. PERL_VERSION=5.12.4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement