summaryrefslogtreecommitdiff
path: root/www/chromium/patches/patch-build_toolchain_openbsd_BUILD_gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/patches/patch-build_toolchain_openbsd_BUILD_gn')
-rw-r--r--www/chromium/patches/patch-build_toolchain_openbsd_BUILD_gn70
1 files changed, 0 insertions, 70 deletions
diff --git a/www/chromium/patches/patch-build_toolchain_openbsd_BUILD_gn b/www/chromium/patches/patch-build_toolchain_openbsd_BUILD_gn
deleted file mode 100644
index 8f74164..0000000
--- a/www/chromium/patches/patch-build_toolchain_openbsd_BUILD_gn
+++ /dev/null
@@ -1,70 +0,0 @@
1Index: build/toolchain/openbsd/BUILD.gn
2--- build/toolchain/openbsd/BUILD.gn.orig
3+++ build/toolchain/openbsd/BUILD.gn
4@@ -0,0 +1,66 @@
5+# Copyright 2013 The Chromium Authors. All rights reserved.
6+# Use of this source code is governed by a BSD-style license that can be
7+# found in the LICENSE file.
8+
9+import("//build/config/sysroot.gni")
10+import("//build/toolchain/gcc_toolchain.gni")
11+
12+clang_toolchain("clang_x86") {
13+ toolchain_args = {
14+ current_cpu = "x86"
15+ current_os = "openbsd"
16+ }
17+}
18+
19+gcc_toolchain("x86") {
20+ cc = "gcc"
21+ cxx = "g++"
22+
23+ readelf = "readelf"
24+ nm = "nm"
25+ ar = "ar"
26+ ld = cxx
27+
28+ toolchain_args = {
29+ current_cpu = "x86"
30+ current_os = "openbsd"
31+ is_clang = false
32+ }
33+}
34+
35+clang_toolchain("clang_x64") {
36+ toolchain_args = {
37+ current_cpu = "x64"
38+ current_os = "openbsd"
39+ }
40+}
41+
42+gcc_toolchain("x64") {
43+ cc = "gcc"
44+ cxx = "g++"
45+
46+ readelf = "readelf"
47+ nm = "nm"
48+ ar = "ar"
49+ ld = cxx
50+
51+ toolchain_args = {
52+ current_cpu = "x64"
53+ current_os = "openbsd"
54+ is_clang = false
55+ }
56+}
57+
58+clang_toolchain("clang_arm") {
59+ toolchain_args = {
60+ current_cpu = "arm64"
61+ current_os = "openbsd"
62+ }
63+}
64+
65+clang_toolchain("clang_arm64") {
66+ toolchain_args = {
67+ current_cpu = "arm64"
68+ current_os = "openbsd"
69+ }
70+}