]> git.eshelyaron.com Git - emacs.git/commit
Fix cross-compilation of C++ code with old NDK versions
authorPo Lu <luangruo@yahoo.com>
Sat, 4 Mar 2023 00:45:11 +0000 (08:45 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 4 Mar 2023 00:45:11 +0000 (08:45 +0800)
commit0d363aded1e33762f9ed91aef2497a162de956b2
tree75ede7da0c892322074ff4bf9aad58d33dccd9a0
parentedfa0f8fa0d2e0ed55f749fa93412488f14e39b9
Fix cross-compilation of C++ code with old NDK versions

* cross/ndk-build/Makefile.in (NDK_BUILD_CFLAGS_CXX): New variable.
* cross/ndk-build/ndk-build-shared-library.mk
($(call objname,$(LOCAL_MODULE),$(basename $(1)))):
* cross/ndk-build/ndk-build-static-library.mk
($(call objname,$(LOCAL_MODULE),$(basename $(1)))): Use it to build
C++ code.
cross/ndk-build/Makefile.in
cross/ndk-build/ndk-build-shared-library.mk
cross/ndk-build/ndk-build-static-library.mk