aboutsummaryrefslogtreecommitdiff
path: root/www/firefox/files/patch-third__party_chromium_build_toolchain_toolchain.gni
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox/files/patch-third__party_chromium_build_toolchain_toolchain.gni')
-rw-r--r--www/firefox/files/patch-third__party_chromium_build_toolchain_toolchain.gni18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/firefox/files/patch-third__party_chromium_build_toolchain_toolchain.gni b/www/firefox/files/patch-third__party_chromium_build_toolchain_toolchain.gni
new file mode 100644
index 000000000000..7cfd8c79d2da
--- /dev/null
+++ b/www/firefox/files/patch-third__party_chromium_build_toolchain_toolchain.gni
@@ -0,0 +1,18 @@
+commit 66fb0f122ef1ddf961b333c8377b84b603d75b27
+Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
+
+ support FreeBSD as a host platform
+
+diff --git third_party/chromium/build/toolchain/toolchain.gni third_party/chromium/build/toolchain/toolchain.gni
+index 754f0e3bbd7e..238d79631ba8 100644
+--- third_party/chromium/build/toolchain/toolchain.gni
++++ third_party/chromium/build/toolchain/toolchain.gni
+@@ -75,7 +75,7 @@ if (host_os == "mac") {
+ host_shlib_extension = ".dylib"
+ } else if (host_os == "win") {
+ host_shlib_extension = ".dll"
+-} else if (host_os == "linux" || host_os == "aix" || host_os == "zos") {
++} else if (host_os == "linux" || host_os == "aix" || host_os == "freebsd" || host_os == "zos") {
+ host_shlib_extension = ".so"
+ } else {
+ assert(false, "Host platform not supported")