From ce0e1eecdd5ca5572ba652d75889d16aa57a168b Mon Sep 17 00:00:00 2001 From: lide-reed Date: Thu, 22 Nov 2018 12:28:39 +0800 Subject: [PATCH] Fix a compile issue of DORIS_GCC_HOME --- thirdparty/build-thirdparty.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/build-thirdparty.sh b/thirdparty/build-thirdparty.sh index ba09b5e5271840..3edeaad95970f5 100755 --- a/thirdparty/build-thirdparty.sh +++ b/thirdparty/build-thirdparty.sh @@ -58,7 +58,7 @@ ${TP_DIR}/download-thirdparty.sh export LD_LIBRARY_PATH=$TP_DIR/installed/lib:$LD_LIBRARY_PATH # set COMPILER -if [[ -z ${DORIS_GCC_HOME} ]]; then +if [[ ! -z ${DORIS_GCC_HOME} ]]; then export CC=${DORIS_GCC_HOME}/bin/gcc export CPP=${DORIS_GCC_HOME}/bin/cpp export CXX=${DORIS_GCC_HOME}/bin/g++