File tree 1 file changed +12
-12
lines changed
1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -30,18 +30,6 @@ MKDIR %TARGET%\arm64-v8a>nul 2>nul
30
30
31
31
SET CC = %ANDROID_ARM_TOOLCHAIN% \bin\arm-linux-androideabi-gcc.exe
32
32
33
- REM Check environment availability
34
- IF NOT EXIST %CC% (
35
- ECHO " gcc not found"
36
- EXIT 1
37
- )
38
-
39
- WHERE python.exe
40
- IF " %ERRORLEVEL% " == 1 (
41
- ECHO " python not found"
42
- EXIT 1
43
- )
44
-
45
33
IF NOT EXIST %ANDROID_ARM_CC% (
46
34
ECHO " Make standalone toolchain for ARM arch"
47
35
python.exe %ANDROID_NDK_HOME% \build\tools\make_standalone_toolchain.py --arch arm ^
@@ -60,6 +48,18 @@ IF NOT EXIST %ANDROID_X86_CC% (
60
48
--api %MIN_API% --install-dir %ANDROID_X86_TOOLCHAIN%
61
49
)
62
50
51
+ REM Check environment availability
52
+ IF NOT EXIST %CC% (
53
+ ECHO " gcc not found"
54
+ EXIT 1
55
+ )
56
+
57
+ WHERE python.exe
58
+ IF " %ERRORLEVEL% " == 1 (
59
+ ECHO " python not found"
60
+ EXIT 1
61
+ )
62
+
63
63
IF NOT EXIST %DIR% \go\bin\go.exe (
64
64
ECHO " Build the custom go"
65
65
You can’t perform that action at this time.
0 commit comments