diff options
author | Neko-san | 2022-11-29 17:51:34 -0600 |
---|---|---|
committer | Neko-san | 2022-11-29 17:51:34 -0600 |
commit | 70af870a90e7e6cbcd2f7633df7f51459161252a (patch) | |
tree | a381af9eadfd88f0211d43f97fbbf4dc3a9799b4 | |
parent | 3935373220d02f00813cade1c3f1aff4bf5b847d (diff) | |
download | aur-70af870a90e7e6cbcd2f7633df7f51459161252a.tar.gz |
Corrected line 73
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -70,7 +70,7 @@ if [[ ${arch_auto} == auto ]] then ## Architecture checks and compile flag adjustments - shellcheck throws a fit about the build function but it looks fine to me; checks for the highest available x64 support level and falls back to "native" if either not available if [ "$(uname -m)" == "x86_64" ]; then - if [ "$(/lib/ld-linux-x86-64.so.2 --help | grep -w 'x86-64-v4' | cut -d ',' -f 1 | sed 's/^ //' | sed 's/ (/ - /')" == ' x86-64-v4 - supported' ]; then + if [ "$(/lib/ld-linux-x86-64.so.2 --help | grep -w 'x86-64-v4' | cut -d ',' -f 1 | sed 's/^ //' | sed 's/ (/ - /')" == 'x86-64-v4 - supported' ]; then export CFLAGS="${CFLAGS} -march=x86-64-v4 -mtune=x86-64-v4 -O3 -pipe -fno-plt -fstack-clash-protection -fstack-protector-strong -fcf-protection -fsanitize=bounds,alignment,object-size -fsanitize-undefined-trap-on-error -Wformat -Werror=format-security -Warray-bounds -Wvla -Wimplicit-fallthrough -Wno-unused-result -Wno-unneeded-internal-declaration" export CXXFLAGS="${CFLAGS} -Wp,-D_GLIBCXX_ASSERTIONS" export LDFLAGS="-Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now" |