summaryrefslogtreecommitdiff
path: root/etc/scons
diff options
context:
space:
mode:
Diffstat (limited to 'etc/scons')
-rw-r--r--etc/scons/android_toolchain.vars1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/scons/android_toolchain.vars b/etc/scons/android_toolchain.vars
index 10212a90ebd..cd1b00159a0 100644
--- a/etc/scons/android_toolchain.vars
+++ b/etc/scons/android_toolchain.vars
@@ -20,6 +20,7 @@ CXX=os.path.join(toolchain_path, "bin", "clang++" + compiler_suffix)
AR=subprocess.check_output([CXX, '-print-prog-name=ar']).strip()
LINKFLAGS='-static-libstdc++'
+CPPDEFINES='__ANDROID_API__=21'
TARGET_OS="android"
TOOLS="gcc g++ gnulink ar gas"