diff options
author | Fred Hornsey <hornseyf@objectcomputing.com> | 2020-12-30 17:41:01 -0600 |
---|---|---|
committer | Fred Hornsey <hornseyf@objectcomputing.com> | 2020-12-30 17:41:01 -0600 |
commit | a055a73b1431abe7bc04d3886e2b166757ae2992 (patch) | |
tree | c80fbbb31090874da736f87137d5a4c8dbe994e6 | |
parent | 3072459f215b934bbcbe9c232732d3ac6fdbfd17 (diff) | |
download | ATCD-a055a73b1431abe7bc04d3886e2b166757ae2992.tar.gz |
Always Define ANDROID_ABI for Compatibility
-rw-r--r-- | ACE/include/makeinclude/platform_android.GNU | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ACE/include/makeinclude/platform_android.GNU b/ACE/include/makeinclude/platform_android.GNU index 699ba459eb8..6f012cd98ec 100644 --- a/ACE/include/makeinclude/platform_android.GNU +++ b/ACE/include/makeinclude/platform_android.GNU @@ -28,12 +28,15 @@ versioned_so = 3 # This section deals with selecting the architecture/compiler # As of writing information on ABIs can be found at https://developer.android.com/ndk/guides/abis +# Make sure android_abi or ANDROID_ABI are defined and they are the same. ifndef android_abi ifdef ANDROID_ABI android_abi := $(ANDROID_ABI) else $(error android_abi or ANDROID_ABI must be defined) endif +else + ANDROID_ABI := $(android_abi) endif # Alias neon @@ -80,8 +83,8 @@ ifdef android_ndk endif # We don't want this being used again except to signal that this is a - # cross-compile build. If it is then the resulting command (probably) wont - # exist. + # cross-compile build. If it is then the resulting command probably won't + # exist and cause an error. CROSS_COMPILE := THIS_VALUE_SHOULD_NOT_BE_USED # Ignore value of CROSS_COMPILE because ar doesn't match clang like in |