Debian Codegraph @

debian/patches/0004-Include-CPPFLAGS-in-CFLAGS.patch

raw symbols SCIP
1 From: Kevin Murray <[email protected]>
2 Date: Mon, 19 Oct 2015 11:25:14 +1100
3 Subject: Include CPPFLAGS in CFLAGS
4
5 ---
6 Makefile | 4 ++--
7 1 file changed, 2 insertions(+), 2 deletions(-)
8
9 --- a/Makefile
10 +++ b/Makefile
11 @@ -1,6 +1,6 @@
12 PROGRAM_NAME = scythe
13 VERSION ='"$(shell dpkg-parsechangelog | grep '^Version:' | cut -f 2 -d ' ')"'
14 -CC = gcc
15 +CC ?= gcc
16 DEBUG ?= 0
17 ifeq ($(DEBUG), 1)
18 CFLAGS += -g -O0
19 @@ -9,7 +9,7 @@ else
20 endif
21
22 ARCHIVE = $(PROGRAM_NAME)_$(VERSION)
23 -override CFLAGS += -Wall -pedantic -DVERSION=$(VERSION) -std=gnu99 -fPIC
24 +override CFLAGS += $(CPPFLAGS) -Wall -pedantic -DVERSION=$(VERSION) -std=gnu99 -fPIC
25 override LDFLAGS += -lz -lm
26 LDTESTFLAGS = -lcheck
27 SDIR = src