Added "-fPIC" to the compiler options in Make.config.template when compiling plugins

This commit is contained in:
Klaus Schmidinger 2006-06-15 09:29:21 +02:00
parent d324b2de88
commit 4a98f33782
4 changed files with 16 additions and 3 deletions

View File

@ -1440,6 +1440,8 @@ Udo Richter <udo_richter@gmx.de>
for fixing handling the "Power" key in case a timer is about to start recording for fixing handling the "Power" key in case a timer is about to start recording
for fixing calculating the start time of repeated timers with "first day" for fixing calculating the start time of repeated timers with "first day"
for setting a timer's cached start time to 0 after a call to Skip() for setting a timer's cached start time to 0 after a call to Skip()
for adding "-fPIC" to the compiler options in Make.config.template when compiling
plugins
Sven Kreiensen <svenk@kammer.uni-hannover.de> Sven Kreiensen <svenk@kammer.uni-hannover.de>
for his help in keeping 'channels.conf.terr' up to date for his help in keeping 'channels.conf.terr' up to date

View File

@ -4782,3 +4782,9 @@ Video Disk Recorder Revision History
- Changed the log messages when grabbing an image from 'isyslog()' to 'dsyslog()' - Changed the log messages when grabbing an image from 'isyslog()' to 'dsyslog()'
so that they can be suppressed in normal operation mode to avoid clogging the so that they can be suppressed in normal operation mode to avoid clogging the
log file in case this function is used frequently (suggested by Helmut Auer). log file in case this function is used frequently (suggested by Helmut Auer).
2006-06-15: Version 1.4.1-1
- Added "-fPIC" to the compiler options in Make.config.template when compiling
plugins (thanks to Udo Richter). If you use your own Make.config file, you may
want to add these lines there, too.

View File

@ -6,7 +6,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: Make.config.template 1.9 2006/05/26 10:41:46 kls Exp $ # $Id: Make.config.template 1.10 2006/06/15 09:15:25 kls Exp $
### The C compiler and options: ### The C compiler and options:
@ -16,6 +16,11 @@ CFLAGS = -g -O2 -Wall
CXX = g++ CXX = g++
CXXFLAGS = -g -O2 -Wall -Woverloaded-virtual CXXFLAGS = -g -O2 -Wall -Woverloaded-virtual
ifdef PLUGIN
CFLAGS += -fPIC
CXXFLAGS += -fPIC
endif
### The directory environment: ### The directory environment:
#DVBDIR = /usr/src/v4l-dvb/linux #DVBDIR = /usr/src/v4l-dvb/linux

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: config.h 1.260 2006/06/11 08:57:35 kls Exp $ * $Id: config.h 1.261 2006/06/15 09:23:21 kls Exp $
*/ */
#ifndef __CONFIG_H #ifndef __CONFIG_H
@ -21,7 +21,7 @@
// VDR's own version number: // VDR's own version number:
#define VDRVERSION "1.4.1" #define VDRVERSION "1.4.1-1"
#define VDRVERSNUM 10401 // Version * 10000 + Major * 100 + Minor #define VDRVERSNUM 10401 // Version * 10000 + Major * 100 + Minor
// The plugin API's version number: // The plugin API's version number: