zyn: Remove -O1 Patch - fltk interface is gone for long time

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2018-09-16 22:37:19 +02:00
parent 6bc488de13
commit 5df85b7600
2 changed files with 0 additions and 35 deletions

View File

@@ -29,7 +29,6 @@ SRC_URI = " \
file://0002-Controller-Spliter-align-Makefiles-for-cross-compili.patch \
file://0003-Nio.cpp-Do-not-use-ps-aux-to-find-jack-busybox-s-ps-.patch \
file://0004-Keep-our-build-flags.patch \
file://0005-Set-UI-optimization-to-O1-explicitly.patch \
"
SRCREV = "6f8a61f6ee74316e471495f040660318a339d0c7"
PV = "3.0.3+git${SRCPV}"

View File

@@ -1,34 +0,0 @@
From ffc923d2edf0646cda38a816d8a03d38e5aa67ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Tue, 20 Jun 2017 00:27:31 +0200
Subject: [PATCH] Set UI optimization to -O1 explicitly
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
at least on ARM we see segfaults for higher optimizations
Upstream-Status: Pending
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
src/UI/CMakeLists.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/UI/CMakeLists.txt b/src/UI/CMakeLists.txt
index 98b3d14..73c3a43 100644
--- a/src/UI/CMakeLists.txt
+++ b/src/UI/CMakeLists.txt
@@ -52,6 +52,9 @@ elseif(NtkGui)
install(TARGETS zynaddsubfx-ext-gui RUNTIME DESTINATION bin)
endif()
+# At least for ARM fltk-GUI is segfaulting for -O2 -O3
+set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O1")
+
add_library(zynaddsubfx_gui STATIC
${UI_objs}
${zynaddsubfx_gui_FLTK_UI_SRCS}
--
2.9.4