aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoelacanthus <[email protected]>2021-10-24 18:52:50 +0800
committerCoelacanthus <[email protected]>2021-10-24 18:57:13 +0800
commitde5b73066cd669f91f7abddc9813a696de23cc88 (patch)
tree822310843ad9db58bec0983dbfe7052652dd85a9
parent3ea36713af6e56aa2f5e490952492eb6ba658441 (diff)
refactor(makepkg): remove architecture specified config
-rw-r--r--makepkg.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/makepkg.conf b/makepkg.conf
index bcc1cb2..221c0f2 100644
--- a/makepkg.conf
+++ b/makepkg.conf
@@ -33,12 +33,12 @@ VCSCLIENTS=('bzr::bzr'
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
-CARCH="x86_64"
-CHOST="x86_64-pc-linux-gnu"
+#CARCH="x86_64"
+#CHOST="x86_64-pc-linux-gnu"
#-- Compiler and Linker Flags
#CPPFLAGS=""
-CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
+CFLAGS="-O2 -pipe -fno-plt -fexceptions \
-Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
-fstack-clash-protection -fcf-protection"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"