Convert to new options helpers

This commit is contained in:
Bryan Drewery 2013-06-14 14:22:51 +00:00
parent 24ed473314
commit cea1dd9ee0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320928

View file

@ -28,6 +28,8 @@ OPTIONS_DEFINE= CLANGLINK LLVMLINK STATIC DOCS
CLANGLINK_DESC= Create clang compiler links if clang is installed
LLVMLINK_DESC= Create llvm compiler links if llvm is installed
STATIC_LDFLAGS= -static
.include <bsd.port.options.mk>
PLIST_SUB+= CCLINKDIR="${CCLINKDIR}"
@ -47,10 +49,6 @@ CCACHE_COMPILERS+= clang clang++
CCACHE_COMPILERS+= llvm-gcc llvm-c++ llvm-g++
.endif
.if ${PORT_OPTIONS:MSTATIC}
LDFLAGS+= "--static"
.endif
CCACHE_COMPILERS+= ${EXTRA_COMPILERS}
SUB_LIST+= CCACHE_COMPILERS="${CCACHE_COMPILERS}" \
CCLINKDIR="${CCLINKDIR}" \