blob: 00dd2d788b50b3e5d6aa0192a1872fd6cefc8b63 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
--- a/Makefile
+++ b/Makefile
@@ -42,6 +42,9 @@ TMPDIR ?= /tmp
-include $(VDRDIR)/Make.config
+# libc++
+CXXFLAGS+= -std=c++11
+
### The version number of VDR's plugin API (taken from VDR's "config.h"):
APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h)
--- a/css/Makefile
+++ b/css/Makefile
@@ -27,6 +27,9 @@ VDRDIR ?= ../../../..
-include $(VDRDIR)/Make.config
+# libc++
+CXXFLAGS+= -std=c++11
+
### Includes and Defines (add further entries here):
INCLUDES += -I$(VDRDIR)/include -I..
--- a/httpd/Makefile
+++ b/httpd/Makefile
@@ -5,6 +5,9 @@ CXXFLAGS ?= -O2 -Woverloaded-virtual -Wa
CXXFLAGS += `tntnet-config --cxxflags`
+# libc++
+CXXFLAGS+= -std=c++11
+
### Includes and Defines (add further entries here):
INCLUDES += -I.
--- a/javascript/Makefile
+++ b/javascript/Makefile
@@ -27,6 +27,9 @@ VDRDIR ?= ../../../..
-include $(VDRDIR)/Make.config
+# libc++
+CXXFLAGS+= -std=c++11
+
### Includes and Defines (add further entries here):
INCLUDES += -I$(VDRDIR)/include -I..
--- a/pages/Makefile
+++ b/pages/Makefile
@@ -27,6 +27,9 @@ VDRDIR = /usr/local/include/vdr
-include $(VDRDIR)/Make.config
+# libc++
+CXXFLAGS+= -std=c++11
+
### Includes and Defines (add further entries here):
INCLUDES += -I$(VDRDIR)/include -I..
|