mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 19:06:28 -04:00
Convert to new options helpers
This commit is contained in:
parent
24ed473314
commit
cea1dd9ee0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320928
1 changed files with 2 additions and 4 deletions
|
@ -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}" \
|
||||
|
|
Loading…
Add table
Reference in a new issue