]> git.eshelyaron.com Git - emacs.git/commit
Adjust ndk-build implementation for old NDK versions
authorPo Lu <luangruo@yahoo.com>
Mon, 6 Feb 2023 14:26:45 +0000 (22:26 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 6 Feb 2023 14:26:45 +0000 (22:26 +0800)
commite1c7b8ad61a213014ae3bf87db197301ab2bac29
treef8782aea36f9e1a263482705935c60ef99cea6e7
parent85d225df8731010e7ac64f18dabf49715f384852
Adjust ndk-build implementation for old NDK versions

* configure.ac: Pass ANDROID_CFLAGS to ndk_INIT.
* cross/ndk-build/Makefile.in (NDK_BUILD_CFLAGS):
* cross/ndk-build/ndk-build-shared-library.mk
($(call objname,$(LOCAL_MODULE),$(basename $(1)))):
($$(error Unsupported suffix):
* cross/ndk-build/ndk-build-static-library.mk
($(call objname,$(LOCAL_MODULE),$(basename $(1)))):
($$(error Unsupported suffix): Use NDK_BUILD_CFLAGS.
* m4/ndk-build.m4 (ndk_INIT): Accept cflags.
(ndk_CONFIG_FILES): Export NDK_BUILD_CFLAGS.
configure.ac
cross/ndk-build/Makefile.in
cross/ndk-build/ndk-build-shared-library.mk
cross/ndk-build/ndk-build-static-library.mk
m4/ndk-build.m4