]> git.eshelyaron.com Git - emacs.git/commitdiff
; * m4/ndk-build.m4 (ndk_INIT): Fix typo.
authorPo Lu <luangruo@yahoo.com>
Sat, 4 Mar 2023 03:47:32 +0000 (11:47 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 4 Mar 2023 03:47:32 +0000 (11:47 +0800)
m4/ndk-build.m4

index 0ade91da23034d28f1cea93bfd035a5cfee5f5e0..d5f16248dcd19051e15b9a279edf88d342d489a4 100644 (file)
@@ -212,7 +212,8 @@ ndk_subst_cc_onto_cxx () {
   ndk_flag=
   for ndk_word in `AS_ECHO_N(["$CC"]) | cut -s -f2- -d' '`; do
     AS_IF([test "$ndk_flag" = "yes"],
-      [AS_ECHO_N(["$ndk_word "])],
+      [AS_ECHO_N(["$ndk_word "])
+       ndk_flag=no],
       [AS_CASE([$ndk_word],
         [*-sysroot=*],
           [AS_ECHO_N(["$ndk_word "])],
@@ -224,7 +225,6 @@ ndk_subst_cc_onto_cxx () {
           ndk_flag=yes],
        [-D__ANDROID_API__*],
          [AS_ECHO_N(["$ndk_word "])])])
-    ndk_flag=no
   done
 }