Switch away from cachyos repositories and build packages for non-native targets

This is because shire doesn't support newer x86 instruction sets
This commit is contained in:
Marko Korhonen 2024-06-29 12:29:42 +03:00
parent ec7f932e39
commit 6409e97788
4 changed files with 2 additions and 31 deletions

View file

@ -16,9 +16,9 @@ CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"
CPPFLAGS="-D_FORTIFY_SOURCE=2"
CFLAGS="-march=native -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt"
#CFLAGS="-march=native -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt"
CXXFLAGS="${CFLAGS}"
RUSTFLAGS="-C opt-level=3 -C target-cpu=native"
#RUSTFLAGS="-C opt-level=3 -C target-cpu=native"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
MAKEFLAGS="-j$(nproc)"
DEBUG_CFLAGS="-g -fvar-tracking-assignments"