File: add_cppflags.patch

package info (click to toggle)
cpl-plugin-naco 4.4.11%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 9,524 kB
  • sloc: ansic: 70,386; sh: 5,198; makefile: 732; python: 295
file content (21 lines) | stat: -rw-r--r-- 525 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Ole Streicher <olebole@debian.org>
Date: Sat, 1 Jul 2017 20:45:22 +0200
Subject: Dont replace CPPFLAGS, but add to them

---
 naco/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/naco/Makefile.am b/naco/Makefile.am
index d5d4e0a..220c8ff 100644
--- a/naco/Makefile.am
+++ b/naco/Makefile.am
@@ -30,7 +30,7 @@ MAINTAINERCLEANFILES = Makefile.in
 endif
 
 
-CPPFLAGS = -DCX_LOG_DOMAIN=\"NacoLib\"
+CPPFLAGS += -DCX_LOG_DOMAIN=\"NacoLib\"
 
 AM_CPPFLAGS = $(all_includes) $(GSL_INCLUDES)