Skip to content

Commit

Permalink
Tiny tup fix;
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornbytes committed Oct 16, 2022
1 parent 93b465b commit 20cb0d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tupfile.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 20cb0d1

Please sign in to comment.