diff --git a/libretro/cores/4do/runtime b/libretro/cores/4do/runtime
index 54fe5e1..85115f2 100644
--- a/libretro/cores/4do/runtime
+++ b/libretro/cores/4do/runtime
@@ -4,6 +4,7 @@
+
diff --git a/libretro/cores/Tuprules.tup b/libretro/cores/Tuprules.tup
index ca0bb43..c47119f 100644
--- a/libretro/cores/Tuprules.tup
+++ b/libretro/cores/Tuprules.tup
@@ -1,5 +1,6 @@
!libretro_cc = |> ^ CC %f^ \
$(CC) \
+ $(DEFINES) \
`pkg-config --cflags $(CORE_PKGS)` \
$(CFLAGS) $(INCFLAGS) \
`pkg-config --cflags genode-lib` \
@@ -8,6 +9,7 @@
!libretro_cxx = |> ^ CXX %f^ \
$(CXX) \
+ $(DEFINES) -std=gnu++11 \
`pkg-config --cflags $(CORE_PKGS)` \
$(CFLAGS) $(CXXFLAGS) $(INCFLAGS) \
`pkg-config --cflags genode-lib` \
@@ -69,5 +71,5 @@ else
endif
LINK_T = $(TUP_CWD)/link.T
-CFLAGS += -D__LIBRETRO__ -DFRONTEND_SUPPORTS_RGB565
+DEFINES += -D__LIBRETRO__ -DFRONTEND_SUPPORTS_RGB565
NO_UNDEFINED = --no-undefined
diff --git a/libretro/cores/dosbox/runtime b/libretro/cores/dosbox/runtime
index d247db8..d598acc 100644
--- a/libretro/cores/dosbox/runtime
+++ b/libretro/cores/dosbox/runtime
@@ -1,9 +1,11 @@
-
+
-
+
+
+
@@ -15,12 +17,12 @@
-
+
-
+
-
+
diff --git a/libretro/cores/dosbox/upstream b/libretro/cores/dosbox/upstream
index 8a73b1e..bb615dc 160000
--- a/libretro/cores/dosbox/upstream
+++ b/libretro/cores/dosbox/upstream
@@ -1 +1 @@
-Subproject commit 8a73b1ef6606743641c027f86e78ee9514ed1554
+Subproject commit bb615dc8ac6279185fc52fb05f32f397d715df02
diff --git a/libretro/cores/fceumm/runtime b/libretro/cores/fceumm/runtime
index ebfe1a9..5522411 100644
--- a/libretro/cores/fceumm/runtime
+++ b/libretro/cores/fceumm/runtime
@@ -4,6 +4,7 @@
+
diff --git a/libretro/cores/gambatte/runtime b/libretro/cores/gambatte/runtime
index 72bef16..aa50cf2 100644
--- a/libretro/cores/gambatte/runtime
+++ b/libretro/cores/gambatte/runtime
@@ -4,6 +4,7 @@
+
diff --git a/libretro/cores/mgba/runtime b/libretro/cores/mgba/runtime
index 1665f0b..dacce5f 100644
--- a/libretro/cores/mgba/runtime
+++ b/libretro/cores/mgba/runtime
@@ -4,6 +4,7 @@
+
diff --git a/libretro/cores/mrboom/runtime b/libretro/cores/mrboom/runtime
index 4e552ec..6b136b4 100644
--- a/libretro/cores/mrboom/runtime
+++ b/libretro/cores/mrboom/runtime
@@ -4,6 +4,7 @@
+
diff --git a/libretro/cores/nxengine/runtime b/libretro/cores/nxengine/runtime
index 3c17a12..8bdfbf8 100644
--- a/libretro/cores/nxengine/runtime
+++ b/libretro/cores/nxengine/runtime
@@ -4,6 +4,7 @@
+
diff --git a/libretro/cores/snes9x/runtime b/libretro/cores/snes9x/runtime
index 72eb132..b2cd8d6 100644
--- a/libretro/cores/snes9x/runtime
+++ b/libretro/cores/snes9x/runtime
@@ -4,6 +4,7 @@
+
diff --git a/libretro/cores/tyrquake/runtime b/libretro/cores/tyrquake/runtime
index 42518d3..9c98a84 100644
--- a/libretro/cores/tyrquake/runtime
+++ b/libretro/cores/tyrquake/runtime
@@ -4,6 +4,7 @@
+