mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Added "-fPIC" to the compiler options in Make.config.template when compiling plugins
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user