summaryrefslogtreecommitdiff
path: root/etc/makepkg.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/makepkg.conf')
-rw-r--r--etc/makepkg.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/makepkg.conf b/etc/makepkg.conf
index 94641d44..7c54c41b 100644
--- a/etc/makepkg.conf
+++ b/etc/makepkg.conf
@@ -40,13 +40,13 @@ CHOST="aarch64-unknown-linux-gnu"
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CPPFLAGS=""
-CFLAGS="-march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions \
+CFLAGS="-march=native -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions \
-Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
-fstack-clash-protection"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
LTOFLAGS=""
-#RUSTFLAGS="-C opt-level=2"
+RUSTFLAGS="-C opt-level=2 -C target-cpu=native"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"
#-- Debugging flags