zynaddsubfx: make sure oe's build flags are used
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
From 6a3b212c7a945bdd951d2ba1e8293a491ac26a24 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
Date: Sun, 18 Jun 2017 14:25:49 +0200
|
||||
Subject: [PATCH] Keep our build flags
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
|
||||
---
|
||||
src/CMakeLists.txt | 5 +----
|
||||
1 file changed, 1 insertion(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index 365c129..1fa1b24 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -44,9 +44,6 @@ CHECK_CXX_SOURCE_COMPILES(
|
||||
#endif
|
||||
int main(){return 0;}" HAVE_ASYNC)
|
||||
|
||||
-check_cxx_compiler_flag("-msse2" SUPPORT_SSE)
|
||||
-check_cxx_compiler_flag("-mfpu=neon -Werror" SUPPORT_NEON)
|
||||
-
|
||||
set(CMAKE_REQUIRED_FLAGS "")
|
||||
|
||||
|
||||
@@ -255,7 +252,7 @@ if (BuildForDebug)
|
||||
else (BuildForDebug)
|
||||
set (CMAKE_BUILD_TYPE "Release")
|
||||
|
||||
- set (CMAKE_CXX_FLAGS_RELEASE ${BuildOptionsBasic})
|
||||
+ set (CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS})
|
||||
|
||||
if (BuildForAMD_X86_64)
|
||||
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${BuildOptions_x86_64AMD}")
|
||||
--
|
||||
2.9.4
|
||||
|
||||
@@ -27,6 +27,7 @@ SRC_URI = " \
|
||||
file://0001-No-target-specific-asm.patch \
|
||||
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 \
|
||||
"
|
||||
SRC_URI[md5sum] = "7dc757512e5b6f3013bfb168ed01cfa3"
|
||||
SRC_URI[sha256sum] = "014b1d9ad1750c310369676b46a4555ba6bec512c38ccba17ceb89c78552949a"
|
||||
|
||||
Reference in New Issue
Block a user