[SCM] hydrogen/master: Add patch fixing CXX FLAGS.
mira-guest at users.alioth.debian.org
mira-guest at users.alioth.debian.org
Sun Nov 27 16:30:21 UTC 2016
The following commit has been merged in the master branch:
commit a28cb6f3b21349287c2e296a91825155298c64da
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date: Sun Nov 27 17:28:02 2016 +0100
Add patch fixing CXX FLAGS.
diff --git a/debian/patches/1020-cxx_flags.patch b/debian/patches/1020-cxx_flags.patch
new file mode 100644
index 0000000..9b3478c
--- /dev/null
+++ b/debian/patches/1020-cxx_flags.patch
@@ -0,0 +1,17 @@
+Description: Fix CXX Flags.
+Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+Forwarded: mauser at smoors.de
+
+Index: hydrogen/CMakeLists.txt
+===================================================================
+--- hydrogen.orig/CMakeLists.txt
++++ hydrogen/CMakeLists.txt
+@@ -106,7 +106,7 @@ ELSE()
+ ENDIF()
+
+ #SET(CMAKE_CXX_FLAGS "-fno-implement-inlines -finline-small-functions -findirect-inlining -fpartial-inlining")
+-SET(CMAKE_CXX_FLAGS "-O2 -std=gnu++11 -Wno-deprecated-register")
++SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -std=gnu++11 -Wno-deprecated-register")
+ IF (NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang")
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-implement-inlines")
+ ENDIF()
diff --git a/debian/patches/series b/debian/patches/series
index ad17bb2..3f4ea8b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
1008-ftbfs-gcc-4.7.diff
1010-spelling.patch
1015-man_path.patch
+1020-cxx_flags.patch
--
hydrogen packaging
More information about the pkg-multimedia-commits
mailing list