summaryrefslogtreecommitdiff
path: root/Make.config.template
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-06-15 09:29:21 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-06-15 09:29:21 +0200
commit4a98f3378224a2be1fb87ccb1ec45f503d1decc7 (patch)
treea5f3724f017a43df643204ea707ffa5506b6480c /Make.config.template
parentd324b2de882be794d2107c1ab945e79f71018fec (diff)
downloadvdr-4a98f3378224a2be1fb87ccb1ec45f503d1decc7.tar.gz
vdr-4a98f3378224a2be1fb87ccb1ec45f503d1decc7.tar.bz2
Added "-fPIC" to the compiler options in Make.config.template when compiling plugins
Diffstat (limited to 'Make.config.template')
-rw-r--r--Make.config.template7
1 files changed, 6 insertions, 1 deletions
diff --git a/Make.config.template b/Make.config.template
index 4a22f655..b7effdfa 100644
--- a/Make.config.template
+++ b/Make.config.template
@@ -6,7 +6,7 @@
# See the main source file 'vdr.c' for copyright information and
# 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:
@@ -16,6 +16,11 @@ CFLAGS = -g -O2 -Wall
CXX = g++
CXXFLAGS = -g -O2 -Wall -Woverloaded-virtual
+ifdef PLUGIN
+CFLAGS += -fPIC
+CXXFLAGS += -fPIC
+endif
+
### The directory environment:
#DVBDIR = /usr/src/v4l-dvb/linux