summaryrefslogtreecommitdiff
path: root/libre/pacman/makepkg.conf.in
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2024-03-19 21:28:24 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2024-04-17 16:23:14 -0400
commitc049cb42c8aa66a81c642a06fb854feaae739e28 (patch)
tree9fb101a56ab64c9b75dc5ef0b6de39bfbdb6007a /libre/pacman/makepkg.conf.in
parent766a2bd04967a6b5b1216ed14409d3f4f037167a (diff)
pacman: upgrade to v6.1.0
Diffstat (limited to 'libre/pacman/makepkg.conf.in')
-rw-r--r--libre/pacman/makepkg.conf.in21
1 files changed, 12 insertions, 9 deletions
diff --git a/libre/pacman/makepkg.conf.in b/libre/pacman/makepkg.conf.in
index b3121548a..b1627974e 100644
--- a/libre/pacman/makepkg.conf.in
+++ b/libre/pacman/makepkg.conf.in
@@ -1,4 +1,6 @@
#!/hint/bash
+# shellcheck disable=2034
+
#
# /etc/makepkg.conf
#
@@ -39,17 +41,16 @@ CHOST="@CHOST@"
#-- Compiler and Linker Flags
#CPPFLAGS=""
CFLAGS="@CFLAGS@"
-CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
+CXXFLAGS="@CXXFLAGS@"
LDFLAGS="@LDFLAGS@"
LTOFLAGS="@LTOFLAGS@"
-#RUSTFLAGS="-C opt-level=2"
+RUSTFLAGS="@RUSTFLAGS@"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"
#-- Debugging flags
-DEBUG_CFLAGS="-g"
-DEBUG_CFLAGS+=" @DBGFLAGS@"
+DEBUG_CFLAGS="@DBGFLAGS@"
DEBUG_CXXFLAGS="$DEBUG_CFLAGS"
-#DEBUG_RUSTFLAGS="-C debuginfo=2"
+DEBUG_RUSTFLAGS="@DBGRUSTFLAGS@"
#########################################################################
# BUILD ENVIRONMENT
@@ -78,7 +79,7 @@ BUILDENV=(!distcc color !ccache check !sign)
# These are default values for the options=() settings
#########################################################################
#
-# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto)
+# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto !autodeps)
# A negated option will do the opposite of the comments below.
#
#-- strip: Strip symbols from binaries/libraries
@@ -90,9 +91,9 @@ BUILDENV=(!distcc color !ccache check !sign)
#-- purge: Remove files specified by PURGE_TARGETS
#-- debug: Add debugging flags as specified in DEBUG_* variables
#-- lto: Add compile flags for building with link time optimization
+#-- autodeps: Automatically add depends/provides
#
-OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug !lto)
-OPTIONS=( ${OPTIONS[*]/\!debug/debug} ) # TODO: implement debuginfod?
+OPTIONS=(@OPTIONS@)
#-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2
INTEGRITY_CHECK=(sha256)
@@ -110,6 +111,8 @@ DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
#-- Directory to store source code in for debug packages
DBGSRCDIR="/usr/src/debug"
+#-- Prefix and directories for library autodeps
+LIB_DIRS=(@LIBDIRS@)
#########################################################################
# PACKAGE OUTPUT
@@ -137,7 +140,7 @@ DBGSRCDIR="/usr/src/debug"
COMPRESSGZ=(gzip -c -f -n)
COMPRESSBZ2=(bzip2 -c -f)
COMPRESSXZ=(xz -c -z -)
-COMPRESSZST=(zstd -c -z -q -)
+COMPRESSZST=(zstd -c -T0 --ultra -20 -)
COMPRESSLRZ=(lrzip -q)
COMPRESSLZO=(lzop -q)
COMPRESSZ=(compress -c -f)