summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a54270d..37adb02 100644
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ VERSION = $(shell grep 'static const char VERSION\[\] *=' $(PLUGIN).c | awk '{ p
### The C++ compiler and options:
CXX ?= g++
-CXXFLAGS ?= -Wall -O2 -Woverloaded-virtual -Wno-format-y2k -fPIC
+CXXFLAGS ?= -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -Wno-format-y2k
### The directory environment:
@@ -84,6 +84,10 @@ ifdef AUTOCONFIG
endif
endif
+### Make sure that necessary options are included:
+-include $(VDRDIR)/Make.global
+
+
### Allow user defined options to overwrite defaults:
-include $(VDRDIR)/Make.config