Files
IAEngine/Android/android-ndk-r27d/toolchains/llvm/prebuilt/windows-x86_64/bin/aarch64-linux-android23-clang.cmd
Isuru Samarathunga 160bf65a1f Android Build Tools
2025-10-16 00:43:42 +05:30

23 lines
436 B
Batchfile

@echo off
setlocal
call :find_bin
if "%~1" == "-cc1" goto :L
set "_BIN_DIR=" && "%_BIN_DIR%clang.exe" --target=aarch64-linux-android23 %*
if ERRORLEVEL 1 exit /b 1
goto :done
:L
rem Target is already an argument.
set "_BIN_DIR=" && "%_BIN_DIR%clang.exe" %*
if ERRORLEVEL 1 exit /b 1
goto :done
:find_bin
rem Accommodate a quoted arg0, e.g.: "clang"
rem https://github.com/android-ndk/ndk/issues/616
set _BIN_DIR=%~dp0
exit /b
:done