From a432d2b47349f1f18e46ce106af13be30c3eba7e Mon Sep 17 00:00:00 2001 From: leleliu008 Date: Sat, 27 Apr 2024 20:51:23 +0800 Subject: [PATCH] optimized Signed-off-by: leleliu008 --- wrapper-target-c++.c | 12 ++++++------ wrapper-target-cc.c | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/wrapper-target-c++.c b/wrapper-target-c++.c index c1f4caa..8f787e8 100644 --- a/wrapper-target-c++.c +++ b/wrapper-target-c++.c @@ -6,12 +6,12 @@ #include #include -#define ACTION_PREPROCESS 1 -#define ACTION_COMPILE 2 -#define ACTION_ASSEMBLE 3 -#define ACTION_CREATE_SHARED_LIBRARY 4 -#define ACTION_CREATE_STATICALLY_LINKED_EXECUTABLE 3 -#define ACTION_CREATE_DYNAMICALLY_LINKED_EXECUTABLE 4 +#define ACTION_PREPROCESS 1 +#define ACTION_COMPILE 2 +#define ACTION_ASSEMBLE 3 +#define ACTION_CREATE_SHARED_LIBRARY 4 +#define ACTION_CREATE_STATICALLY_LINKED_EXECUTABLE 5 +#define ACTION_CREATE_DYNAMICALLY_LINKED_EXECUTABLE 6 int main(int argc, char * argv[]) { char * const cxxc = getenv("ANDROID_NDK_CXX"); diff --git a/wrapper-target-cc.c b/wrapper-target-cc.c index e56f663..45830c2 100644 --- a/wrapper-target-cc.c +++ b/wrapper-target-cc.c @@ -6,12 +6,12 @@ #include #include -#define ACTION_PREPROCESS 1 -#define ACTION_COMPILE 2 -#define ACTION_ASSEMBLE 3 -#define ACTION_CREATE_SHARED_LIBRARY 4 -#define ACTION_CREATE_STATICALLY_LINKED_EXECUTABLE 3 -#define ACTION_CREATE_DYNAMICALLY_LINKED_EXECUTABLE 4 +#define ACTION_PREPROCESS 1 +#define ACTION_COMPILE 2 +#define ACTION_ASSEMBLE 3 +#define ACTION_CREATE_SHARED_LIBRARY 4 +#define ACTION_CREATE_STATICALLY_LINKED_EXECUTABLE 5 +#define ACTION_CREATE_DYNAMICALLY_LINKED_EXECUTABLE 6 int main(int argc, char * argv[]) { char * const cc = getenv("ANDROID_NDK_CC");