aboutsummaryrefslogblamecommitdiff
path: root/www/qt5-webengine/files/patch-src_3rdparty_chromium_build_config_sysroot.gni
blob: daa5312ce3ad38fbbb2bb9af1eda506db2c962b6 (plain) (tree)
1
2
3
4
5
6
7
8
                                                                               
                                                  
                                  
 

                                                                   
                                                                
                                                                            




                                                                      
                     
--- src/3rdparty/chromium/build/config/sysroot.gni.orig	2020-11-07 01:22:36 UTC
+++ src/3rdparty/chromium/build/config/sysroot.gni
@@ -24,9 +24,9 @@ declare_args() {
 
   # Controls default is_linux sysroot. If set to true, and sysroot
   # is empty, default sysroot is calculated.
-  use_sysroot = current_cpu == "x86" || current_cpu == "x64" ||
+  use_sysroot = !is_bsd && (current_cpu == "x86" || current_cpu == "x64" ||
                 current_cpu == "arm" || current_cpu == "arm64" ||
-                current_cpu == "mipsel" || current_cpu == "mips64el"
+                current_cpu == "mipsel" || current_cpu == "mips64el")
 }
 
 if (sysroot == "") {