summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2020-06-27 09:13:04 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2020-06-27 09:13:04 +0200
commit488a13543e91aac8290c87feaf2268febd7f9143 (patch)
tree61978662b85d36fd61dc3e85cbbdba0903acf52c /Makefile
parent3cc0abf6eac449a0eb29c18545dfa2f6c33b5e21 (diff)
downloadvdr-488a13543e91aac8290c87feaf2268febd7f9143.tar.gz
vdr-488a13543e91aac8290c87feaf2268febd7f9143.tar.bz2
Now adding CPPFLAGS to CXXFLAGS to allow extra preprocessor flags to be given when doing make
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 93d061a8..25d4a9ca 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: Makefile 4.9 2020/06/22 15:08:46 kls Exp $
+# $Id: Makefile 4.10 2020/06/27 09:13:04 kls Exp $
.DELETE_ON_ERROR:
@@ -17,6 +17,7 @@ CFLAGS ?= -g -O3 -Wall
CXX ?= g++
CXXFLAGS ?= -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses
+CXXFLAGS += $(CPPFLAGS)
CDEFINES = -D_GNU_SOURCE
CDEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE