From 7f81b68a00f71ac00d636b2d9f771f5c113bd1ab Mon Sep 17 00:00:00 2001 From: Turiiya <34311583+ttytm@users.noreply.github.com> Date: Thu, 28 Mar 2024 15:28:11 +0100 Subject: [PATCH] andorid: add cflag to stbi import --- android/compile.v | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/android/compile.v b/android/compile.v index 4e7fcc7f..422c6c87 100644 --- a/android/compile.v +++ b/android/compile.v @@ -688,9 +688,10 @@ pub fn compile_v_imports_c_dependencies(opt CompileOptions, imported_modules []s build_cmd := [ compiler, cflags.join(' '), + '-mfpu=neon-vfpv4', '-Wno-sign-compare', - '-I"' + os.join_path(v_thirdparty_dir, 'stb_image') + '"', - '-c "' + os.join_path(v_thirdparty_dir, 'stb_image', 'stbi.c') + '"', + '-I"${os.join_path(v_thirdparty_dir, 'stb_image')}"', + '-c "${os.join_path(v_thirdparty_dir, 'stb_image', 'stbi.c')}"', '-o "${o_file}"', ]