hydrogen: fix build

Fixes #4321
This commit is contained in:
Michael Gehring 2016-06-11 16:50:36 +02:00
parent 136e4c37ff
commit b49f925a49
2 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,15 @@
--- CMakeLists.txt.orig 2016-06-11 17:03:52.532568896 +0200
+++ CMakeLists.txt 2016-06-11 17:04:03.094569441 +0200
@@ -97,12 +97,6 @@
ENDIF()
#SET(CMAKE_CXX_FLAGS "-fno-implement-inlines -finline-small-functions -findirect-inlining -fpartial-inlining")
-IF(APPLE)
- SET(CMAKE_CXX_FLAGS "-O2")
-ELSE()
- SET(CMAKE_CXX_FLAGS "-O2 -fno-implement-inlines")
-ENDIF()
-
SET(CMAKE_CXX_FLAGS_RELEASE "")
SET(CMAKE_CXX_FLAGS_DEBUG "-g ")#-Winline")

View file

@ -1,7 +1,7 @@
# Template file for 'hydrogen'
pkgname=hydrogen
version=0.9.6.1
revision=1
revision=2
build_style=cmake
configure_args="-DWANT_LRDF=ON -DWANT_CPPUNIT=OFF"
hostmakedepends="pkg-config cmake"
@ -14,3 +14,5 @@ license="GPL-2"
homepage="http://www.hydrogen-music.org/"
distfiles="https://github.com/hydrogen-music/hydrogen/archive/${version}.tar.gz"
checksum=94dadf433f0abbe7e0ae8e037726b3573f8b59abf118c9c084f06c561d56b66f
export CXXFLAGS="-fno-implement-inlines"