diff options
author | fuzzard <fuzzard@users.noreply.github.com> | 2023-08-07 13:00:09 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-07 13:00:09 +1000 |
commit | 7879f2a037f411448afd018d091ee2ced60fd673 (patch) | |
tree | 6e8f52ec9a639102dcb67d5f49ddde33aadc10cb /tools | |
parent | c7b0b9a59d40f633efb25f53976dae9284a08e84 (diff) | |
parent | de48f749b5dbdf3ed88daa62bfc11e407dda16ad (diff) |
Merge pull request #23369 from joseluismarti/ANDROID_API
[Android] Target selection: unneeded explicit definition of __ANDROID_API__
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depends/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depends/configure.ac b/tools/depends/configure.ac index ca5857dfda..b1bd2f5e56 100644 --- a/tools/depends/configure.ac +++ b/tools/depends/configure.ac @@ -313,7 +313,7 @@ esac case $host in *-*linux-android*) deps_dir="$use_host-$use_ndk_api-$build_type" - platform_cflags="-DANDROID -D__ANDROID_API__=$use_ndk_api -fexceptions -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fPIC -DPIC" + platform_cflags="-DANDROID -fexceptions -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fPIC -DPIC" optimize_flags="-Os" platform_ldflags="-Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libatomic.a -L$prefix/$deps_dir/lib/android-$use_ndk_api" |