From dec1b66f6ded84b445d9c67b04a4673c6036526f Mon Sep 17 00:00:00 2001 From: ildumi95 Date: Mon, 7 Feb 2022 15:47:57 +0100 Subject: [PATCH] [PATCH] link with libatomic for test Gbp-Pq: Name 0001-link-with-libatomic-for-test.patch --- test/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.sh b/test/test.sh index 2683a52c..de9bd235 100755 --- a/test/test.sh +++ b/test/test.sh @@ -25,7 +25,7 @@ run () { OUT=$1.out rm "$OUT" 2> /dev/null - gcc -I"../include" -O0 -g3 -Wall -Wextra -Winline -std=gnu99 $SOURCE $C_SRC -lm -lpcre2-8 -lcleri -luuid -luv -lyajl $LCRYPT -o "$OUT" + gcc -I"../include" -O0 -g3 -Wall -Wextra -Winline -std=gnu99 $SOURCE $C_SRC -lm -latomic -lpcre2-8 -lcleri -luuid -luv -lyajl $LCRYPT -o "$OUT" if [[ "$NOMEMTEST" -ne "1" ]]; then valgrind --tool=memcheck --error-exitcode=1 --leak-check=full -q ./$OUT else @@ -45,4 +45,4 @@ else run "test_$name" fi -exit $RET \ No newline at end of file +exit $RET -- 2.30.2