COMMON_FLAGS="-march=native -mcpu=native -O3 -pipe -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ggdb" #COMMON_FLAGS="-march=native -mcpu=native -O3 -pipe -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ggdb -fno-strict-aliasing" CFLAGS="${COMMON_FLAGS}" CXXFLAGS="${COMMON_FLAGS}" FCFLAGS="${COMMON_FLAGS}" FFLAGS="${COMMON_FLAGS}" # Remove ThinLTO and -z pack-relative-relocs ignored, latter of which isn't supported on arm64 yet for binutils at 2023-10-01 LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0"