Browse Source

upgpkg: ungoogled-chromium 90.0.4430.93-2

remove compiler flag
jk 4 years ago
parent
commit
f575b0df98
1 changed files with 3 additions and 4 deletions
  1. 3 4
      PKGBUILD

+ 3 - 4
PKGBUILD

@@ -26,7 +26,7 @@ depends=('gtk3' 'nss' 'alsa-lib' 'xdg-utils' 'libxss' 'libcups' 'libgcrypt'
          'ttf-liberation' 'systemd' 'dbus' 'libpulse' 'pciutils' 'libva'
          'ttf-liberation' 'systemd' 'dbus' 'libpulse' 'pciutils' 'libva'
          'desktop-file-utils' 'hicolor-icon-theme')
          'desktop-file-utils' 'hicolor-icon-theme')
 makedepends=('python' 'gn' 'ninja' 'clang' 'lld' 'gperf' 'nodejs' 'pipewire'
 makedepends=('python' 'gn' 'ninja' 'clang' 'lld' 'gperf' 'nodejs' 'pipewire'
-             'java-runtime-headless' 'python2' 'python2-setuptools' 'flatbuffers')
+             'java-runtime-headless' 'python2' 'python2-setuptools')
 optdepends=('pipewire: WebRTC desktop sharing under Wayland'
 optdepends=('pipewire: WebRTC desktop sharing under Wayland'
             'kdialog: needed for file dialogs in KDE'
             'kdialog: needed for file dialogs in KDE'
             'org.freedesktop.secrets: password storage backend on GNOME / Xfce'
             'org.freedesktop.secrets: password storage backend on GNOME / Xfce'
@@ -139,9 +139,6 @@ prepare() {
       -delete
       -delete
   done
   done
 
 
-  # delete flatbuffers
-  rm -r third_party/flatbuffers
-
   ./build/linux/unbundle/replace_gn_files.py \
   ./build/linux/unbundle/replace_gn_files.py \
     --system-libraries "${!_system_libs[@]}"
     --system-libraries "${!_system_libs[@]}"
 }
 }
@@ -156,6 +153,8 @@ build() {
     export CCACHE_SLOPPINESS=time_macros
     export CCACHE_SLOPPINESS=time_macros
   fi
   fi
 
 
+  export CFLAGS=$(printf '%s\n' "${CFLAGS//-fcf-protection/}")
+
   export CC=clang
   export CC=clang
   export CXX=clang++
   export CXX=clang++
   export AR=ar
   export AR=ar