From 4a98f3378224a2be1fb87ccb1ec45f503d1decc7 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Thu, 15 Jun 2006 09:29:21 +0200 Subject: Added "-fPIC" to the compiler options in Make.config.template when compiling plugins --- Make.config.template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Make.config.template') 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 -- cgit v1.2.3