forked from hasufell/hasufell-repository
Fix suggestions and bugs spotted by zlin
https://galileo.mailstation.de/gerrit/#/c/5864/
This commit is contained in:
@@ -22,7 +22,6 @@ DEFAULT_SRC_INSTALL_PARAMS=(
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
export CC=$(exhost --tool-prefix)cc
|
||||
append-cppflags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
|
||||
}
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ DEPENDENCIES="
|
||||
"
|
||||
|
||||
DEFAULT_SRC_COMPILE_PARAMS=(
|
||||
LIBNAME=${LIBDIR}
|
||||
LIBNAME=lib
|
||||
LIBEXECDIR=/usr/$(exhost --target)/libexec/rc
|
||||
OS=Linux
|
||||
)
|
||||
@@ -85,12 +85,12 @@ src_compile() {
|
||||
|
||||
MAKE_ARGS="
|
||||
${DEFAULT_SRC_COMPILE_PARAMS[@]}
|
||||
MKNET=$(option newnet)
|
||||
MKNET=$(option newnet yes no)
|
||||
MKSELINUX=no
|
||||
MKAUDIT=no
|
||||
MKPAM=$(optionv pam)
|
||||
MKSTATICLIBS=no
|
||||
MKTOOLS=$(option tools)
|
||||
MKTOOLS=$(option tools yes no)
|
||||
"
|
||||
|
||||
emake ${MAKE_ARGS}
|
||||
|
||||
Reference in New Issue
Block a user