summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-10-28 08:15:03 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2013-10-28 08:16:25 +0100
commitdc04048e1e25a695983bfc5237e7df4fc036f863 (patch)
tree76ec53cf84475270003fdec43fa8b31be848950b /src
parent02d4a8aff2729a001736258a3c1c28e7c9025e43 (diff)
downloadetna_viv-dc04048e1e25a695983bfc5237e7df4fc036f863.tar.gz
etna_viv-dc04048e1e25a695983bfc5237e7df4fc036f863.tar.xz
src: raise error if GCABI is not defined
Defaulting to v2 (or any version, at that) is a bad idea.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile.inc b/src/Makefile.inc
index d1f590f..951beea 100644
--- a/src/Makefile.inc
+++ b/src/Makefile.inc
@@ -1,4 +1,7 @@
-GCABI ?= v2
+ifndef GCABI
+$(error GCABI is undefined. Consult the README.md file to set it according to your kernel)
+endif
+
PLATFORM_GL_LIBS ?= -lEGL -lGLESv2
CC = $(GCCPREFIX)gcc