forked from tools/pkgutils
42 lines
826 B
Plaintext
42 lines
826 B
Plaintext
#
|
|
# /etc/pkgmk.conf: pkgmk(8) configuration
|
|
#
|
|
|
|
export CFLAGS="-O2 -march=x86-64 -pipe"
|
|
export CXXFLAGS="${CFLAGS}"
|
|
|
|
# export JOBS=$(nproc)
|
|
# export MAKEFLAGS="-j $JOBS"
|
|
|
|
case ${PKGMK_ARCH} in
|
|
"64"|"")
|
|
;;
|
|
"32")
|
|
export CFLAGS="${CFLAGS} -m32"
|
|
export CXXFLAGS="${CXXFLAGS} -m32"
|
|
export LDFLAGS="${LDFLAGS} -m32"
|
|
export PKG_CONFIG_LIBDIR="/usr/lib32/pkgconfig"
|
|
;;
|
|
*)
|
|
echo "Unknown architecture selected! Exiting."
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
# PKGMK_SOURCE_MIRRORS=()
|
|
# PKGMK_SOURCE_DIR="$PWD"
|
|
# PKGMK_PACKAGE_DIR="$PWD"
|
|
# PKGMK_WORK_DIR="$PWD/work"
|
|
# PKGMK_DOWNLOAD="no"
|
|
# PKGMK_IGNORE_SIGNATURE="no"
|
|
# PKGMK_IGNORE_MD5SUM="no"
|
|
# PKGMK_IGNORE_FOOTPRINT="no"
|
|
# PKGMK_IGNORE_NEW="no"
|
|
# PKGMK_NO_STRIP="no"
|
|
# PKGMK_DOWNLOAD_PROG="curl"
|
|
# PKGMK_WGET_OPTS=""
|
|
# PKGMK_CURL_OPTS=""
|
|
# PKGMK_COMPRESSION_MODE="gz"
|
|
|
|
# End of file
|