Skip to content

Instantly share code, notes, and snippets.

View romanornr's full-sized avatar

Romano romanornr

View GitHub Profile
@beci
beci / aur_speed_up.md
Last active June 12, 2024 15:06
Speed up compiling of AUR packages in arch linux

Edit /etc/makepkg.conf

replace in CFLAGS and CXXFLAGS to use the native one

-march=x86-64 -mtune=generic to -march=native

speed up build by set multiple threads

MAKEFLAGS="-j$(nproc)"