Skip to content

Commit

Permalink
inlcude x64 as test, as it fails without for all others
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Apr 1, 2024
1 parent 777e2c8 commit 653e34a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android/compile.v
Original file line number Diff line number Diff line change
Expand Up @@ -359,10 +359,10 @@ pub fn compile(opt CompileOptions) ! {
ldflags << ['-llog', '-landroid', '-lm']
ldflags << ['-shared'] // <- Android loads native code via a library in NativeActivity

mut cflags_arm64 := ['-m64']
mut cflags_arm64 := ['-m64', '-mfpu=neon-vfpv4']
mut cflags_arm32 := ['-mfloat-abi=softfp', '-mfpu=neon-vfpv4', '-m32']
mut cflags_x86 := ['-march=i686', '-mssse3', '-mfpmath=sse', '-mfpu=neon-vfpv4', '-m32']
mut cflags_x86_64 := ['-march=x86-64', '-msse4.2', '-mpopcnt', '-m64']
mut cflags_x86_64 := ['-march=x86-64', '-msse4.2', '-mpopcnt', '-m64', '-mfpu=neon-vfpv4']
$if gcc {
cflags_arm32 << '-mfp16-format=ieee'
}
Expand Down

0 comments on commit 653e34a

Please sign in to comment.