summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-build_config_sysroot.gni
blob: 04c1d2026514ed94e193e48c79e4517a2e98d221 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- build/config/sysroot.gni.orig	2018-12-12 22:56:02.000000000 +0100
+++ build/config/sysroot.gni	2018-12-15 22:15:59.771804000 +0100
@@ -15,9 +15,10 @@
   # The absolute path to directory containing linux sysroot images
   target_sysroot_dir = "//build/linux"
 
-  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 (current_os == target_os && current_cpu == target_cpu &&