Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ########################################################
- # Clang-related stuff
- ########################################################
- .if !empty(.CURDIR:M/usr/src/*) && exists(/usr/bin/clang) # && defined(USE_CLANG)
- .if !defined(CC) || ${CC} == "cc"
- CC=clang
- .endif
- .if !defined(CXX) || ${CXX} == "c++"
- CXX=clang++
- .endif
- # Don't die on warnings
- NO_WERROR=
- WERROR=
- CFLAGS+="-march=native"
- # Don't forget this when using Jails!
- #NO_FSCHG=
- .endif # clang for base system
- .if defined(USE_CLANG)
- .if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/bin/clang)
- CC=clang
- CXX=clang++
- .endif
- .endif
- # added by use.perl 2011-07-16 13:38:03
- PERL_VERSION=5.12.4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement