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

@@ -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