File: 04-allow_debbug.patch

package info (click to toggle)
ir.lv2 1.3.4~dfsg0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 504 kB
  • sloc: cpp: 5,983; makefile: 198; ansic: 188
file content (15 lines) | stat: -rw-r--r-- 714 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Allow debugging.
Author: Jaromír Mikeš <mira.mikes@seznam.cz>
Forwarded: no

--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@
 CXX ?= g++
 
 # change "-O2 -ffast-math" to "-g -O0" below if you want to debug the plugin
-CPPFLAGS += -Wall -I. -I/usr/include `pkg-config --cflags gtk+-2.0` `pkg-config --cflags gthread-2.0` -D__STDC_FORMAT_MACROS -O2 -ffast-math
+CPPFLAGS += -Wall -I. -I/usr/include `pkg-config --cflags gtk+-2.0` `pkg-config --cflags gthread-2.0` -D__STDC_FORMAT_MACROS -g -O2 -ffast-math
 LIBS += -lc -lm -lzita-convolver -lsamplerate -lsndfile `pkg-config --libs gthread-2.0` `pkg-config --libs gtk+-2.0`
 
 ifeq ($(shell pkg-config --atleast-version='2.16' gtk+-2.0; echo $$?), 1)