aboutsummaryrefslogtreecommitdiff
path: root/unmaintained/openjfx12/webkit-debug-level.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/openjfx12/webkit-debug-level.patch')
-rw-r--r--unmaintained/openjfx12/webkit-debug-level.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/unmaintained/openjfx12/webkit-debug-level.patch b/unmaintained/openjfx12/webkit-debug-level.patch
new file mode 100644
index 0000000000..08d12692a6
--- /dev/null
+++ b/unmaintained/openjfx12/webkit-debug-level.patch
@@ -0,0 +1,16 @@
1Description: Use the -g1 debugging level instead of -g when compiling WebKit
2 to reduce the memory used and avoid build failures caused by lack of RAM.
3Author: Emmanuel Bourg <ebourg@apache.org>
4Forwarded: not-needed
5Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/25-webkit-debug-level.patch
6--- a/modules/javafx.web/src/main/native/Source/cmake/WebKitCompilerFlags.cmake
7+++ b/modules/javafx.web/src/main/native/Source/cmake/WebKitCompilerFlags.cmake
8@@ -89,6 +89,7 @@
9
10 if (COMPILER_IS_GCC_OR_CLANG)
11 WEBKIT_APPEND_GLOBAL_COMPILER_FLAGS(-fno-strict-aliasing)
12+ WEBKIT_APPEND_GLOBAL_COMPILER_FLAGS(-g1)
13
14 # clang-cl.exe impersonates cl.exe so some clang arguments like -fno-rtti are
15 # represented using cl.exe's options and should not be passed as flags, so
16