[SCM] eq10q/master: Add patch to pass debug flags.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Tue Dec 13 13:22:38 UTC 2016


The following commit has been merged in the master branch:
commit fdc04a8dc87e51ba2e5dd07ba0e2fcaf911925a6
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Tue Dec 13 14:15:20 2016 +0100

    Add patch to pass debug flags.

diff --git a/debian/patches/03-fix_flags.patch b/debian/patches/05-pass_debug_flags.patch
similarity index 65%
copy from debian/patches/03-fix_flags.patch
copy to debian/patches/05-pass_debug_flags.patch
index b538c6a..2310776 100644
--- a/debian/patches/03-fix_flags.patch
+++ b/debian/patches/05-pass_debug_flags.patch
@@ -1,7 +1,6 @@
-Description:  Let debian append flags.
+Description:  Pass debug flags.
 Author: Jaromír Mikeš <mira.mikes at seznam.cz>
- thanks to Felipe Sateler <fsateler at debian.org> 
-Forwarded: yes
+Forwarded: no
 
 Index: eq10q/CMakeLists.txt
 ===================================================================
@@ -11,12 +10,12 @@ Index: eq10q/CMakeLists.txt
  PROJECT(eq10q)
  
  ##ADD_DEFINITIONS(-Wall -O3 -fPIC -finline-functions -finline-functions-called-once  -msse -mfpmath=sse -std=c99)
--set(CMAKE_C_FLAGS "-Wall -O3 -fPIC -finline-functions -finline-functions-called-once -std=c99")
-+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -O3 -fPIC -finline-functions -finline-functions-called-once -std=c99")
+-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -O3 -fPIC -finline-functions -finline-functions-called-once -std=c99")
++set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -O3 -g -fPIC -finline-functions -finline-functions-called-once -std=c99")
  #set(CMAKE_C_FLAGS "-Wall -O0 -g -fPIC -finline-functions -finline-functions-called-once  -msse -mfpmath=sse -std=c99")
  
--set(CMAKE_CXX_FLAGS "-Wall -fPIC -std=c++11")
-+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -fPIC -std=c++11")
+-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -fPIC -std=c++11")
++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -O3 -g -fPIC -DPIC -std=c++11")
  #set(CMAKE_CXX_FLAGS "-Wall -O0 -g -fPIC -DPIC -std=c++11") ##Debuging GUI
  
  ##ADD_DEFINITIONS(-Wall -O0 -g -fPIC -DPIC) ###USED FOR DEBUG
diff --git a/debian/patches/series b/debian/patches/series
index d067d26..be7a332 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 02-remove_sse_flags.patch
 03-fix_flags.patch
 04-spelling.patch
+05-pass_debug_flags.patch
diff --git a/debian/rules b/debian/rules
index 8582450..82bdac3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-LDFLAGS+=-Wl,--as-needed
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
 
 ifeq ($(DEB_HOST_ARCH_CPU),amd64)
 export CFLAGS += -msse -msse2 -mfpmath=sse

-- 
eq10q packaging



More information about the pkg-multimedia-commits mailing list