summaryrefslogtreecommitdiffstats
path: root/www/chromium/files/patch-build_config_BUILD.gn
blob: 5cc8f2bb3168d5ac28fc4d644f377e44b8d3fd11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- build/config/BUILD.gn.orig	2017-07-25 21:04:48.000000000 +0200
+++ build/config/BUILD.gn	2017-08-02 23:31:08.597825000 +0200
@@ -166,7 +166,7 @@
       # builds, and we have to tell it to turn it off.
       defines += [ "_HAS_ITERATOR_DEBUGGING=0" ]
     }
-  } else if (is_linux && current_cpu == "x64" && enable_iterator_debugging) {
+  } else if ((is_linux || is_bsd) && current_cpu == "x64" && enable_iterator_debugging) {
     # Enable libstdc++ debugging facilities to help catch problems early, see
     # http://crbug.com/65151 .
     # TODO(phajdan.jr): Should we enable this for all of POSIX?
@@ -255,7 +255,7 @@
       "CoreText.framework",
       "Foundation.framework",
     ]
-  } else if (is_linux) {
+  } else if (is_linux && !is_bsd) {
     libs = [
       "dl",
       "rt",
@@ -302,7 +302,7 @@
       "//build/config/ios:ios_dynamic_flags",
       "//build/config/ios:ios_executable_flags",
     ]
-  } else if (is_linux || is_android || current_os == "aix") {
+  } else if (is_linux || is_bsd || is_android || current_os == "aix") {
     configs += [ "//build/config/gcc:executable_ldconfig" ]
     if (is_android) {
       configs += [ "//build/config/android:executable_config" ]
OpenPOWER on IntegriCloud