Advertisement
jozze

Untitled

Jun 7th, 2013
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. WITH_PKGNG=yes
  2. CC=clang
  3. CXX=clang++
  4. CPP=clang-cpp
  5. CPUTYPE?=corei7
  6.  
  7. # additional CPU-specific tweaks
  8. ###################################
  9. .if !defined(OVERRIDE)
  10. CFLAGS+=-mssse3 -msse4.1
  11. CXXFLAGS+=-mssse3 -msse4.1
  12. .endif
  13.  
  14. # CCACHE for fast world compiling
  15. ###################################
  16. .if !defined(NOCCACHE)
  17. # kernel fails to build with ccache -- use for world only
  18. .ifmake buildworld
  19.  
  20. # formerly in ~/.tcshrc
  21. CCACHE_PATH=/usr/bin/:/usr/local/bin
  22. CCACHE_LOGFILE=/root/.ccache.log
  23. CCACHE_COMPILECHECK=content
  24. CCACHE_COMPRESS=1
  25.  
  26. # builds without it, but just in case
  27. CCACHE_CPP2=1
  28.  
  29. # use ccache for compilers
  30. CC:=${CC:C,^clang,/usr/local/libexec/ccache/world/clang,1}
  31. CXX:=${CXX:C,^clang\+\+,/usr/local/libexec/ccache/world/clang++,1}
  32. .endif
  33. .endif
  34.  
  35. # custom ports config
  36. ###################################
  37. ARCHDEF?=amd64 # atlas
  38. DWM_CONF?=/home/jozze/config.h # dwm
  39.  
  40. # kernel optimizations
  41. ###################################
  42. COPTFLAGS+=-O3 -mcmodel=kernel -funroll-loops -ffast-math -fstack-protector
  43. KERNCONF?=STRIPPED GENERIC
  44.  
  45. # world specific
  46. #LOADER_FIREWIRE_SUPPORT=yes # enabling acces over firewire dconschat(8)
  47.  
  48. # misc
  49. ###################################
  50. SVN_UPDATE=yes # use svn when running 'make update'
  51. NO_DOCUPDATE=yes # don't update docs with 'make update'
  52. NO_PORTSUPDATE=yes # don't update ports with 'make update'
  53.  
  54. # added by use.perl 2013-06-04 09:40:31
  55. PERL_VERSION=5.14.2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement