diff options
| author | Xiao Pan <xyz@flylightning.xyz> | 2025-12-17 18:03:07 +0800 |
|---|---|---|
| committer | Xiao Pan <xyz@flylightning.xyz> | 2025-12-17 18:03:07 +0800 |
| commit | b213d4c102772b415885d0569eaff2cb759454cb (patch) | |
| tree | 9f626b0e04de15c4e63059c2c5d9563ca78c9eda /etc/makepkg.conf | |
| parent | 82cf772c84b17e27604b8d9a8e32e8cde847e66a (diff) | |
pacdiffpp
Diffstat (limited to 'etc/makepkg.conf')
| -rw-r--r-- | etc/makepkg.conf | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/etc/makepkg.conf b/etc/makepkg.conf index 541847f0..6bd39be4 100644 --- a/etc/makepkg.conf +++ b/etc/makepkg.conf @@ -38,6 +38,8 @@ VCSCLIENTS=('bzr::breezy' CARCH="aarch64" CHOST="aarch64-unknown-linux-gnu" +#NPROC=2 + #-- Compiler and Linker Flags # -march (or -mcpu) builds exclusively for an architecture # -mtune optimizes for an architecture, but builds for whole processor family @@ -49,7 +51,7 @@ CPPFLAGS="" CFLAGS="-march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions \ -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security \ -fstack-clash-protection \ - -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" + -fno-omit-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" @@ -64,7 +66,8 @@ DEBUG_CXXFLAGS="$DEBUG_CFLAGS" # BUILD ENVIRONMENT ######################################################################### # -# Makepkg defaults: BUILDENV=(!distcc !color !ccache check !sign) +# Makepkg defaults: +# OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto !autodeps) # A negated environment option will do the opposite of the comments below. # #-- distcc: Use the Distributed C/C++/ObjC compiler @@ -117,9 +120,9 @@ STRIP_SHARED="--strip-unneeded" #-- Options to be used when stripping static libraries. See `man strip' for details. STRIP_STATIC="--strip-debug" #-- Manual (man and info) directories to compress (if zipman is specified) -MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info}) +MAN_DIRS=(usr{,/local}{,/share}/{man,info}) #-- Doc directories to remove (if !docs is specified) -DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc}) +DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc}) #-- Files to be removed from all packages (if purge is specified) PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod) #-- Directory to store source code in for debug packages |
