aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openjfx12/webkit-debug-level.patch
diff options
context:
space:
mode:
authorSimon Frankenberger <simon@fraho.eu>2019-04-17 17:10:04 +0200
committerRasmus Thomsen <oss@cogitri.dev>2019-10-26 23:25:01 +0200
commit24f84de589b73c43fd4ed05c03486b7333c54753 (patch)
tree5887331bed911e4e147f2700243fa837ffc581b2 /testing/openjfx12/webkit-debug-level.patch
parentbab0150a4387f6b3c9e549a1ad5cc4124207e70c (diff)
downloadaports-24f84de589b73c43fd4ed05c03486b7333c54753.tar.bz2
aports-24f84de589b73c43fd4ed05c03486b7333c54753.tar.xz
testing/openjfx12: New aport
Diffstat (limited to 'testing/openjfx12/webkit-debug-level.patch')
-rw-r--r--testing/openjfx12/webkit-debug-level.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/openjfx12/webkit-debug-level.patch b/testing/openjfx12/webkit-debug-level.patch
new file mode 100644
index 0000000000..08d12692a6
--- /dev/null
+++ b/testing/openjfx12/webkit-debug-level.patch
@@ -0,0 +1,16 @@
+Description: Use the -g1 debugging level instead of -g when compiling WebKit
+ to reduce the memory used and avoid build failures caused by lack of RAM.
+Author: Emmanuel Bourg <ebourg@apache.org>
+Forwarded: not-needed
+Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/25-webkit-debug-level.patch
+--- a/modules/javafx.web/src/main/native/Source/cmake/WebKitCompilerFlags.cmake
++++ b/modules/javafx.web/src/main/native/Source/cmake/WebKitCompilerFlags.cmake
+@@ -89,6 +89,7 @@
+
+ if (COMPILER_IS_GCC_OR_CLANG)
+ WEBKIT_APPEND_GLOBAL_COMPILER_FLAGS(-fno-strict-aliasing)
++ WEBKIT_APPEND_GLOBAL_COMPILER_FLAGS(-g1)
+
+ # clang-cl.exe impersonates cl.exe so some clang arguments like -fno-rtti are
+ # represented using cl.exe's options and should not be passed as flags, so
+