diff options
author | jk | 2021-05-02 17:59:14 -0500 |
---|---|---|
committer | jk | 2021-05-02 17:59:14 -0500 |
commit | 7ecdd829ffed057f4a491f4686c819d58e1bfb97 (patch) | |
tree | 20d4eb7259449494f538433248b494f443024220 | |
parent | 52b57d259c78329df5924eafce7747650ee54bbb (diff) | |
download | aur-7ecdd829ffed057f4a491f4686c819d58e1bfb97.tar.gz |
use fixed flags
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -186,9 +186,8 @@ build() { _ungoogled_repo="$srcdir/$_pkgname-$_uc_ver" readarray -t -O ${#_flags[@]} _flags < "${_ungoogled_repo}/flags.gn" - # remove flags the break building - CFLAGS=${CFLAGS/-fcf-protection} - CFLAGS=${CFLAGS/-fexceptions} + # use fixed flags as system flags break build + CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt" CXXFLAGS="$CFLAGS" # Facilitate deterministic builds (taken from build/config/compiler/BUILD.gn) |