Fix scan-build (Clang Static Analyzer) build fail (#3443)

This commit is contained in:
jimying 2023-03-16 14:07:02 +08:00 committed by GitHub
parent 8c41a770fe
commit 649c05eb70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -4858,7 +4858,7 @@ if test "$LIBEXT" = ""; then LIBEXT='a'; fi
if test "$LIBEXT2" = ""; then LIBEXT2=""; fi
if test "$CC_OUT" = ""; then CC_OUT="-o "; fi
if test "$CC_OUT" = ""; then CC_OUT="-c -o "; fi
if test "$CC_INC" = ""; then CC_INC="-I"; fi

View File

@ -56,7 +56,7 @@ if test "$LIBEXT" = ""; then LIBEXT='a'; fi
AC_SUBST(LIBEXT)
if test "$LIBEXT2" = ""; then LIBEXT2=""; fi
AC_SUBST(LIBEXT2)
if test "$CC_OUT" = ""; then CC_OUT="-o "; fi
if test "$CC_OUT" = ""; then CC_OUT="-c -o "; fi
AC_SUBST(CC_OUT)
if test "$CC_INC" = ""; then CC_INC="-I"; fi
AC_SUBST(CC_INC)

View File

@ -1,5 +1,5 @@
export CC = @CC@ -c
export CXX = @CXX@ -c
export CC = @CC@
export CXX = @CXX@
export AR = @AR@
export AR_FLAGS = @AR_FLAGS@
export LD = @LD@