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 | 13bfbb1f928ecda0611bdf5f17b96875ca82d425 (patch) | |
tree | cae04ee6f368554d773808e57ee53a7c11665722 | |
parent | 61920681a7c785d6c287542592147374514fde5f (diff) | |
download | txr-13bfbb1f928ecda0611bdf5f17b96875ca82d425.tar.gz txr-13bfbb1f928ecda0611bdf5f17b96875ca82d425.tar.bz2 txr-13bfbb1f928ecda0611bdf5f17b96875ca82d425.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" |