diff options
| author | Xiao Pan <gky44px1999@gmail.com> | 2024-03-16 00:57:52 -0700 | 
|---|---|---|
| committer | Xiao Pan <gky44px1999@gmail.com> | 2024-03-16 08:00:46 +0000 | 
| commit | 267cff8d17c65734708bb73725db35534593277a (patch) | |
| tree | 523b33ca2062656c28e61aa1cc56e5941643d971 | |
| parent | 5f1ad3d5b654abd3c442e311c248e3f3c76bf5df (diff) | |
pacdiff
| -rw-r--r-- | etc/makepkg.conf | 15 | ||||
| -rw-r--r-- | etc/services | 2 | 
2 files changed, 11 insertions, 6 deletions
diff --git a/etc/makepkg.conf b/etc/makepkg.conf index 60cfb470..d750f866 100644 --- a/etc/makepkg.conf +++ b/etc/makepkg.conf @@ -41,12 +41,14 @@ CHOST="x86_64-pc-linux-gnu"  #-- Compiler and Linker Flags  #CPPFLAGS=""  CFLAGS="-march=native -mtune=generic -O2 -pipe -fno-plt -fexceptions \ -        -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \ -        -fstack-clash-protection -fcf-protection" +        -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,--sort-common,--as-needed,-z,relro,-z,now" +LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now \ +         -Wl,-z,pack-relative-relocs"  LTOFLAGS="-flto=auto" -RUSTFLAGS="-C opt-level=2 -C target-cpu=native" +RUSTFLAGS="-Cforce-frame-pointers=yes -C opt-level=2 -C target-cpu=native"  #-- Make Flags: change this for DistCC/SMP systems  #MAKEFLAGS="-j2"  #-- Debugging flags @@ -81,7 +83,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 @@ -93,6 +95,7 @@ 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) @@ -112,6 +115,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=('lib:usr/lib' 'lib32:usr/lib32')  #########################################################################  # PACKAGE OUTPUT diff --git a/etc/services b/etc/services index 5e262a50..b1467f77 100644 --- a/etc/services +++ b/etc/services @@ -8693,6 +8693,7 @@ amc              5506/udp  psl-management   5507/tcp  matter           5540/tcp  matter           5540/udp +qftest-licserve  5543/tcp  cbus             5550/tcp  sgi-eventmond    5553/tcp  sgi-eventmond    5553/udp @@ -9862,7 +9863,6 @@ infi-async       8067/tcp  ucs-isc          8070/tcp  gadugadu         8074/tcp  gadugadu         8074/udp -mles             8077/tcp  http-alt         8080/tcp  http-alt         8080/udp  sunproxyadmin    8081/tcp  | 
