From: Ondřej Surý Date: Tue, 6 Aug 2024 14:01:54 +0000 (+0200) Subject: Add configure for libraries in /usr/local for the gcc:tsan job X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdb4f575492938215213d749b81610c7735d9063;p=thirdparty%2Fbind9.git Add configure for libraries in /usr/local for the gcc:tsan job The TSAN-enabled libraries are installed to /usr/local, pass the PKG_CONFIG_PATH and few other options to CFLAGS to the configure arguments. (cherry picked from commit ed766efc15da8b1ca3c597b5b53ab7e2bd331e85) --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b2a8f05c293..78d4fa8d88b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1053,9 +1053,9 @@ unit:clang:asan: gcc:tsan: variables: CC: gcc - CFLAGS: "${CFLAGS_COMMON} -fsanitize=thread -DISC_MEM_USE_INTERNAL_MALLOC=0" + CFLAGS: "${CFLAGS_COMMON} -Wno-stringop-overread -ggdb -O2 -fsanitize=thread -DISC_MEM_USE_INTERNAL_MALLOC=0 -Wl,-rpath=/usr/local/lib -Wl,--enable-new-dtags" LDFLAGS: "-fsanitize=thread" - EXTRA_CONFIGURE: "--with-libidn2 --enable-pthread-rwlock" + EXTRA_CONFIGURE: "--with-libidn2 --enable-pthread-rwlock PKG_CONFIG_PATH=/usr/local/lib/pkgconfig" <<: *tsan_fedora_40_amd64_image <<: *build_job