From cc5b67a439495a22a376aa0c9bc25c1660583e09 Mon Sep 17 00:00:00 2001 From: BigfootACA Date: Sun, 28 Apr 2024 10:02:56 +0800 Subject: [PATCH] Add makepkg-x86_64.conf --- makepkg-x86_64.conf | 50 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 makepkg-x86_64.conf diff --git a/makepkg-x86_64.conf b/makepkg-x86_64.conf new file mode 100644 index 0000000..42c0bc3 --- /dev/null +++ b/makepkg-x86_64.conf @@ -0,0 +1,50 @@ +DLAGENTS=('file::/usr/bin/curl -qgC - -o %o %u' + 'ftp::/usr/bin/curl -qgfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' + 'http::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u' + 'https::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u' + 'rsync::/usr/bin/rsync --no-motd -z %u %o' + 'scp::/usr/bin/scp -C %u %o') +VCSCLIENTS=('bzr::bzr' + 'fossil::fossil' + 'git::git' + 'hg::mercurial' + 'svn::subversion') +CARCH="x86_64" +CHOST="x86_64-pc-linux-gnu" +CPPFLAGS="" +CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \ + -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security \ + -fstack-clash-protection -fcf-protection \ + -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" +CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS" +LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now \ + -Wl,-z,pack-relative-relocs" +LTOFLAGS="-flto=auto" +RUSTFLAGS="-Cforce-frame-pointers=yes" +MAKEFLAGS="-j$(nproc)" +DEBUG_CFLAGS="-g" +DEBUG_CXXFLAGS="$DEBUG_CFLAGS" +DEBUG_RUSTFLAGS="-C debuginfo=2" +BUILDENV=(!distcc color !ccache check !sign) +OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug !lto) +INTEGRITY_CHECK=(md5 sha256 sha512) +STRIP_BINARIES="--strip-all" +STRIP_SHARED="--strip-unneeded" +STRIP_STATIC="--strip-debug" +MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info}) +DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc}) +PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod) +DBGSRCDIR="/usr/src/debug" +PACKAGER="ClassFun CI " +GPGKEY="6D4E5CB24A05AB50EF24E26984FE7898AC3A659D" +COMPRESSGZ=(gzip -c -f -n) +COMPRESSBZ2=(bzip2 -c -f) +COMPRESSXZ=(xz -c -z -) +COMPRESSZST=(zstd -c -z -q -) +COMPRESSLRZ=(lrzip -q) +COMPRESSLZO=(lzop -q) +COMPRESSZ=(compress -c -f) +COMPRESSLZ4=(lz4 -q) +COMPRESSLZ=(lzip -c -f) +PKGEXT='.pkg.tar.xz' +SRCEXT='.src.tar.gz' \ No newline at end of file