1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Now adding CPPFLAGS to CXXFLAGS to allow extra preprocessor flags to be given when doing make

This commit is contained in:
Klaus Schmidinger 2020-06-27 09:13:04 +02:00
parent 3cc0abf6ea
commit 488a13543e
3 changed files with 7 additions and 2 deletions

View File

@ -2496,6 +2496,8 @@ Tobias Grimm <tobias.grimm@e-tobi.net>
for adding optional verbose output to the libsi Makefile for adding optional verbose output to the libsi Makefile
for making the call to pkg_config configurable via the PKG_CONFIG macro for making the call to pkg_config configurable via the PKG_CONFIG macro
for fixing a typo in svdrp.c for fixing a typo in svdrp.c
for suggesting to add CPPFLAGS to CXXFLAGS to allow extra preprocessor flags to be
given when doing make
Helge Lenz <h.lenz@gmx.de> Helge Lenz <h.lenz@gmx.de>
for reporting a bug in setting the 'Delta' parameter when calling the shutdown for reporting a bug in setting the 'Delta' parameter when calling the shutdown

View File

@ -9453,7 +9453,7 @@ Video Disk Recorder Revision History
The version numbers (both VDRVERSNUM and APIVERSNUM) have been bumped to 2.4.2, so The version numbers (both VDRVERSNUM and APIVERSNUM) have been bumped to 2.4.2, so
that plugins can detect the presence of the new cControl::Control(). that plugins can detect the presence of the new cControl::Control().
2020-06-25: Version 2.4.3 2020-06-27: Version 2.4.3
- Added a missing '-D' to the 'plugins' target of the Makefile (thanks to Johann - Added a missing '-D' to the 'plugins' target of the Makefile (thanks to Johann
Friedrichs). Friedrichs).
@ -9488,3 +9488,5 @@ Video Disk Recorder Revision History
- Added a comment about the semantics of cTimeMs::Set(). - Added a comment about the semantics of cTimeMs::Set().
- Adjusted device selection in GetDeviceForTransponder() to that in GetDevice() (thanks - Adjusted device selection in GetDeviceForTransponder() to that in GetDevice() (thanks
to Helmut Binder). to Helmut Binder).
- Now adding CPPFLAGS to CXXFLAGS to allow extra preprocessor flags to be given when
doing make (suggested by Tobisa Grimm).

View File

@ -4,7 +4,7 @@
# See the main source file 'vdr.c' for copyright information and # See the main source file 'vdr.c' for copyright information and
# how to reach the author. # 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: .DELETE_ON_ERROR:
@ -17,6 +17,7 @@ CFLAGS ?= -g -O3 -Wall
CXX ?= g++ CXX ?= g++
CXXFLAGS ?= -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses CXXFLAGS ?= -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses
CXXFLAGS += $(CPPFLAGS)
CDEFINES = -D_GNU_SOURCE CDEFINES = -D_GNU_SOURCE
CDEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE CDEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE