disable lto for webkit build

This commit is contained in:
Frederik Schwan 2022-02-17 00:57:35 +00:00
parent c83264ba77
commit 78f35029c2

View file

@ -44,6 +44,13 @@ index 7a7cbc72..6705a0f3 100644
LINUX.iio.lib = "javafx_iio"
LINUX.prismES2 = [:]
@@ -349,5 +354,5 @@ LINUX.media.ar = "${toolchainDir}ar"
LINUX.webkit = [:]
LINUX.webkit.compiler = compiler
LINUX.webkit.linker = linker
-LINUX.webkit.ccFlags = commonFlags.flatten()
+LINUX.webkit.ccFlags = [commonFlags, "-fno-lto"].flatten()
LINUX.webkit.linkFlags = linkFlags.flatten()
diff --git a/modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile b/modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile
index 450b55d3..f27b9479 100644
--- a/modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile