emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/android 798003b04f6: ; * m4/ndk-build.m4 (ndk_INIT): Fix typo.


From: Po Lu
Subject: feature/android 798003b04f6: ; * m4/ndk-build.m4 (ndk_INIT): Fix typo.
Date: Fri, 3 Mar 2023 22:47:52 -0500 (EST)

branch: feature/android
commit 798003b04f6e2ce358c2d801684b0bfbf54eaeaa
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    ; * m4/ndk-build.m4 (ndk_INIT): Fix typo.
---
 m4/ndk-build.m4 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/m4/ndk-build.m4 b/m4/ndk-build.m4
index 0ade91da230..d5f16248dcd 100644
--- a/m4/ndk-build.m4
+++ b/m4/ndk-build.m4
@@ -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
 }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]