makepkg update

Add -march=native and -mtune=native
Remove debug builds
This commit is contained in:
Balakrishnan Balasubramanian 2025-03-04 13:55:50 -05:00
parent 552e9dd666
commit cd2b151228
2 changed files with 10 additions and 1 deletions

10
makepkg.conf Normal file
View File

@ -0,0 +1,10 @@
PACKAGER="Balakrishnan Balasubramanian <arch-pkger@balki.me>"
for index in "${!OPTIONS[@]}"; do
if [[ "${OPTIONS[$index]}" = *debug ]]; then
OPTIONS["$index"]="!debug"
fi
done
CFLAGS="$CFLAGS -march=native -mtune=native"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"

View File

@ -1 +0,0 @@
PACKAGER="Balakrishnan Balasubramanian <arch-pkger@balki.me>"