diff options
author | Juan RP <xtraeme@gmail.com> | 2014-05-16 06:20:08 +0000 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2014-05-16 06:20:08 +0000 |
commit | f2127f6e3bb6496c3a579892d7b7333253005bbc (patch) | |
tree | 22f30e3b06061170e2334bde8c9e8a1e42189c93 /etc/defaults.conf | |
parent | cafd0ed412b06db658cf7840c40a444151520d04 (diff) | |
download | void-packages-f2127f6e3bb6496c3a579892d7b7333253005bbc.tar void-packages-f2127f6e3bb6496c3a579892d7b7333253005bbc.tar.gz void-packages-f2127f6e3bb6496c3a579892d7b7333253005bbc.tar.bz2 void-packages-f2127f6e3bb6496c3a579892d7b7333253005bbc.tar.lz void-packages-f2127f6e3bb6496c3a579892d7b7333253005bbc.tar.xz void-packages-f2127f6e3bb6496c3a579892d7b7333253005bbc.tar.zst void-packages-f2127f6e3bb6496c3a579892d7b7333253005bbc.zip |
etc/defaults.conf: use -mtune=generic and -fstack-protector-strong by default.
- -mtune=generic provides optimizations for generic CPUs.
- -fstack-protector-strong guards against buffer overflows and stack smashing attacks.
Diffstat (limited to 'etc/defaults.conf')
-rw-r--r-- | etc/defaults.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/defaults.conf b/etc/defaults.conf index 9412182d213..491d1da8e55 100644 --- a/etc/defaults.conf +++ b/etc/defaults.conf @@ -49,7 +49,7 @@ XBPS_INSTALL_ARGS="--repository=http://repo.voidlinux.eu/current" # [OPTIONAL] # Compilation flags for C and C++. # -XBPS_CFLAGS="-O2 -pipe" +XBPS_CFLAGS="-O2 -pipe -mtune=generic -fstack-protector-strong" XBPS_CXXFLAGS="${XBPS_CFLAGS}" # [OPTIONAL] @@ -90,7 +90,7 @@ XBPS_SUCMD="sudo /bin/sh -c" #XBPS_USE_GIT_REVS=yes # [OPTIONAL] -# Disable building -dbg subpackages with debugging symbols. Please note +# Enable building -dbg subpackages with debugging symbols. Please note # that building with debugging symbols make take a long while in some # packages even on computers with a fast CPU; as well as needs lots of # RAM to build properly some packages. |