1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
From 8e6e9a883121dc8077e2b29b51fe6f399c6d7141 Mon Sep 17 00:00:00 2001
From: ildumi95 <ileanadumi95@protonmail.com>
Date: Mon, 7 Feb 2022 15:47:57 +0100
Subject: [PATCH] link with libatomic for test
---
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
|