|
@@ -186,8 +186,9 @@ build() {
|
|
|
_ungoogled_repo="$srcdir/$_pkgname-$_uc_ver"
|
|
|
readarray -t -O ${#_flags[@]} _flags < "${_ungoogled_repo}/flags.gn"
|
|
|
|
|
|
- # -fcf-protection breaks some third_party libraries
|
|
|
+ # remove flags the break building
|
|
|
CFLAGS=${CFLAGS/-fcf-protection}
|
|
|
+ CFLAGS=${CFLAGS/-fexceptions}
|
|
|
CXXFLAGS="$CFLAGS"
|
|
|
|
|
|
# Facilitate deterministic builds (taken from build/config/compiler/BUILD.gn)
|