summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-build_config_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/iridium/files/patch-build_config_BUILD.gn')
-rw-r--r--www/iridium/files/patch-build_config_BUILD.gn31
1 files changed, 16 insertions, 15 deletions
diff --git a/www/iridium/files/patch-build_config_BUILD.gn b/www/iridium/files/patch-build_config_BUILD.gn
index 2f85025c9f8b..28173c1eb341 100644
--- a/www/iridium/files/patch-build_config_BUILD.gn
+++ b/www/iridium/files/patch-build_config_BUILD.gn
@@ -1,6 +1,6 @@
---- build/config/BUILD.gn.orig 2017-04-19 19:06:28 UTC
-+++ build/config/BUILD.gn
-@@ -193,7 +193,7 @@ config("debug") {
+--- build/config/BUILD.gn.orig 2018-08-01 00:08:26.000000000 +0200
++++ build/config/BUILD.gn 2018-08-05 13:59:34.648903000 +0200
+@@ -167,7 +167,7 @@
# builds, and we have to tell it to turn it off.
defines += [ "_HAS_ITERATOR_DEBUGGING=0" ]
}
@@ -9,21 +9,22 @@
# 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?
-@@ -276,7 +276,7 @@ config("default_libs") {
- "CoreText.framework",
- "Foundation.framework",
+@@ -269,9 +269,7 @@
]
-- } else if (is_linux) {
-+ } else if (is_linux && !is_bsd) {
+ } else if (is_linux) {
libs = [
- "dl",
- "rt",
-@@ -307,7 +307,7 @@ config("executable_config") {
+- "dl",
+ "pthread",
+- "rt",
]
- } else if (is_ios) {
- configs += [ "//build/config/ios:ios_dynamic_flags" ]
-- } else if (is_linux || is_android) {
-+ } else if (is_linux || is_android || is_bsd) {
+ }
+ }
+@@ -320,7 +318,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" ]