Tiny tup fix;

This commit is contained in:
bjorn 2022-10-15 21:48:55 -07:00
parent 93b465bd1f
commit 20cb0d1c0a
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ if target == 'android' then
assert(config.headsets.openxr, 'You probably want to enable OpenXR')
hosts = { win32 = 'windows-x86_64', macos = 'darwin-x86_64', linux = 'linux-x86_64' }
cc = config.cc or ('%s/toolchains/llvm/prebuilt/%s/bin/clang'):format(config.android.ndk, hosts[host])
cxx = config.cxx or (config.cc .. '++')
cxx = config.cxx or (cc .. '++')
flags += '--target=aarch64-linux-android' .. config.android.version
flags += config.debug and '-funwind-tables' or ''
cflags += '-D_POSIX_C_SOURCE=200809L'