浏览代码

upgpkg: ungoogled-chromium 90.0.4430.93-1

test
jk 4 年之前
父节点
当前提交
52b57d259c
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      PKGBUILD

+ 2 - 1
PKGBUILD

@@ -186,8 +186,9 @@ build() {
   _ungoogled_repo="$srcdir/$_pkgname-$_uc_ver"
   _ungoogled_repo="$srcdir/$_pkgname-$_uc_ver"
   readarray -t -O ${#_flags[@]} _flags < "${_ungoogled_repo}/flags.gn"
   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/-fcf-protection}
+  CFLAGS=${CFLAGS/-fexceptions}
   CXXFLAGS="$CFLAGS"
   CXXFLAGS="$CFLAGS"
 
 
   # Facilitate deterministic builds (taken from build/config/compiler/BUILD.gn)
   # Facilitate deterministic builds (taken from build/config/compiler/BUILD.gn)