Closed tomas-mraz closed 1 year ago
Hi, it looks like NDK now contains clang which does not support "-mfloat-abi=hard". I suggest removing the switch.
mkdir -p android/jni/lib CC="C:\android-ndk-r25b/toolchains/llvm/prebuilt/windows-x86_64/bin/armv7a-linux-androideabi23-clang" \ CXX="C:\android-ndk-r25b/toolchains/llvm/prebuilt/windows-x86_64/bin/armv7a-linux-androideabi23-clang++" \ GOOS=android \ GOARCH=arm \ CGO_ENABLED=1 \ go build -buildmode=c-shared -o android/jni/lib/libvulkandraw.so # github.com/vulkan-go/vulkan clang: error: unsupported option '-mfloat-abi=hard' for target 'armv7-unknown-linux-android23' make: *** [Makefile:9: build] Error 2
Hi, it looks like NDK now contains clang which does not support "-mfloat-abi=hard". I suggest removing the switch.