summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
author Julian Sikorski <belegdol+github@gmail.com>2019-10-18 16:31:08 +0200
committer R. Belmont <rb6502@users.noreply.github.com>2019-10-18 10:31:08 -0400
commit6e66a8364206f69bf8f4591b9ca7bc44f32bdca7 (patch)
tree49707b6db091101746349ac3c7200efeb5d22d4e /makefile
parent93a1cde67d59325cb541adef03a532bb08155230 (diff)
Odroid n2 build fixes (#5751)
* Allow specifying NO_OPENGL manually * Switch bgfx to OpenGL ES renderer if NO_X11 is specified * Only link against EGL when NO_X11 is specified on linux, netbsd and openbsd * Only switch bgfx to OpenGL ES on linux, netbsd and openbsd * Indentation fix
Diffstat (limited to 'makefile')
-rw-r--r--makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/makefile b/makefile
index 26c02764660..6b6d256b855 100644
--- a/makefile
+++ b/makefile
@@ -24,6 +24,7 @@
# BENCHMARKS = 1
# OSD = sdl
+# NO_OPENGL = 0
# USE_DISPATCH_GL = 0
# MODERN_WIN_API = 0
# DIRECTINPUT = 7
@@ -713,6 +714,10 @@ ifdef DONT_USE_NETWORK
PARAMS += --DONT_USE_NETWORK='$(DONT_USE_NETWORK)'
endif
+ifdef NO_OPENGL
+PARAMS += --NO_OPENGL='$(NO_OPENGL)'
+endif
+
ifdef USE_DISPATCH_GL
PARAMS += --USE_DISPATCH_GL='$(USE_DISPATCH_GL)'
endif