parent
136e4c37ff
commit
b49f925a49
15
srcpkgs/hydrogen/patches/cxxflags-from-env.patch
Normal file
15
srcpkgs/hydrogen/patches/cxxflags-from-env.patch
Normal 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")
|
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'hydrogen'
|
# Template file for 'hydrogen'
|
||||||
pkgname=hydrogen
|
pkgname=hydrogen
|
||||||
version=0.9.6.1
|
version=0.9.6.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DWANT_LRDF=ON -DWANT_CPPUNIT=OFF"
|
configure_args="-DWANT_LRDF=ON -DWANT_CPPUNIT=OFF"
|
||||||
hostmakedepends="pkg-config cmake"
|
hostmakedepends="pkg-config cmake"
|
||||||
@ -14,3 +14,5 @@ license="GPL-2"
|
|||||||
homepage="http://www.hydrogen-music.org/"
|
homepage="http://www.hydrogen-music.org/"
|
||||||
distfiles="https://github.com/hydrogen-music/hydrogen/archive/${version}.tar.gz"
|
distfiles="https://github.com/hydrogen-music/hydrogen/archive/${version}.tar.gz"
|
||||||
checksum=94dadf433f0abbe7e0ae8e037726b3573f8b59abf118c9c084f06c561d56b66f
|
checksum=94dadf433f0abbe7e0ae8e037726b3573f8b59abf118c9c084f06c561d56b66f
|
||||||
|
|
||||||
|
export CXXFLAGS="-fno-implement-inlines"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user