From 959b98333578b1a400467ffe68b7839a89cc72d2 Mon Sep 17 00:00:00 2001 From: Martin Matuska Date: Sat, 1 Jun 2019 00:49:48 +0200 Subject: [PATCH] Fix typo in CMakeLists.txt and build/ci/build.sh --- CMakeLists.txt | 2 +- build/ci/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.2