diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-06-17 07:01:49 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-06-17 07:01:49 -0700 |
commit | a937b2bb1f550766e96b8b8994d7fdc4580bdf13 (patch) | |
tree | cae04ee6f368554d773808e57ee53a7c11665722 | |
parent | 22774201563c6ef587898891419b49b3c809fb93 (diff) | |
download | txr-a937b2bb1f550766e96b8b8994d7fdc4580bdf13.tar.gz txr-a937b2bb1f550766e96b8b8994d7fdc4580bdf13.tar.bz2 txr-a937b2bb1f550766e96b8b8994d7fdc4580bdf13.zip |
android: fix compiler noise about __ANDROID_API__
* configure: Termux's gcc now defines __ANDROID_API__
which clashes with our definition. We cannot remove
our definition because Termux's uses a uselessly low,
conservative value. Thus, add a -U to undefine it
before our -D redefinition.
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1159,7 +1159,7 @@ if ! [ $darwin_target ] ; then if [ "$($make conftest.android)" = "yes" ] ; then printf "yes\n" android_target=y - lang_flags="$lang_flags -D__ANDROID_API__=65535 -D_BSD_SOURCE" + lang_flags="$lang_flags -U__ANDROID_API__ -D__ANDROID_API__=65535 -D_BSD_SOURCE" printf "Regenerating config.make ..." gen_config_make printf "done\n" |