From: Martin Matuska Date: Fri, 31 May 2019 22:49:48 +0000 (+0200) Subject: Fix typo in CMakeLists.txt and build/ci/build.sh X-Git-Tag: v3.4.0~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=959b98333578b1a400467ffe68b7839a89cc72d2;p=thirdparty%2Flibarchive.git Fix typo in CMakeLists.txt and build/ci/build.sh --- diff --git a/CMakeLists.txt b/CMakeLists.txt index f8f0c7553..061ad630c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1350,7 +1350,7 @@ CHECK_FUNCTION_EXISTS_GLIBC(strrchr HAVE_STRRCHR) CHECK_FUNCTION_EXISTS_GLIBC(symlink HAVE_SYMLINK) CHECK_FUNCTION_EXISTS_GLIBC(timegm HAVE_TIMEGM) CHECK_FUNCTION_EXISTS_GLIBC(tzset HAVE_TZSET) -CHECK_FUNCTION_EXISTS_GLIBC(unlinkat HAVE_TZSET) +CHECK_FUNCTION_EXISTS_GLIBC(unlinkat HAVE_UNLINKAT) CHECK_FUNCTION_EXISTS_GLIBC(unsetenv HAVE_UNSETENV) CHECK_FUNCTION_EXISTS_GLIBC(utime HAVE_UTIME) CHECK_FUNCTION_EXISTS_GLIBC(utimes HAVE_UTIMES) diff --git a/build/ci/build.sh b/build/ci/build.sh index 64eb07fb2..1e5cd11f7 100755 --- a/build/ci/build.sh +++ b/build/ci/build.sh @@ -75,7 +75,7 @@ if [ -n "${DEBUG}" ]; then else export CFLAGS="-g -fsanitize=address" fi - if ["${BS}" = "cmake" ]; then + if [ "${BS}" = "cmake" ]; then CONFIGURE_ARGS="${CONFIGURE_ARGS} -DCMAKE_C_CFLAGS=-g -fsanitize=address" fi fi