summaryrefslogtreecommitdiff
path: root/Make.global
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-02-06 15:02:35 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2010-02-06 15:02:35 +0100
commit91115a64e4cb8860aee4938b7359ad4dc35babe6 (patch)
treedc1f9156e1bfa1cc26318e5f24ab6f10771b0fce /Make.global
parentf7831543b31ba77702ef0ea19e6ebd3f5baa2724 (diff)
downloadvdr-91115a64e4cb8860aee4938b7359ad4dc35babe6.tar.gz
vdr-91115a64e4cb8860aee4938b7359ad4dc35babe6.tar.bz2
Moved strictly necessary Makefile options into Make.global
Diffstat (limited to 'Make.global')
-rw-r--r--Make.global17
1 files changed, 17 insertions, 0 deletions
diff --git a/Make.global b/Make.global
new file mode 100644
index 00000000..3b927228
--- /dev/null
+++ b/Make.global
@@ -0,0 +1,17 @@
+#
+# Strictly necessary Makefile options for the Video Disk Recorder
+#
+# See the main source file 'vdr.c' for copyright information and
+# how to reach the author.
+#
+# $Id: Make.global 1.1 2010/02/06 14:54:12 kls Exp $
+
+# Plugins need to be compiled with position independent code, otherwise linking
+# VDR against it will fail.
+
+ifdef PLUGIN
+CFLAGS += -fPIC
+CXXFLAGS += -fPIC
+endif
+
+DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE