From dba1a8b3d4dd04c07fa53fbed203f6c2648f25b9 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 11 Nov 2021 19:44:18 +0800 Subject: [PATCH] nac3standalone: link libm in demo runner --- nac3standalone/demo/run_demo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nac3standalone/demo/run_demo.sh b/nac3standalone/demo/run_demo.sh index d0f03db3..5151e930 100755 --- a/nac3standalone/demo/run_demo.sh +++ b/nac3standalone/demo/run_demo.sh @@ -9,5 +9,5 @@ fi rm -f *.o ../../target/release/nac3standalone $1 -clang -Wall -O2 -o $1.elf demo.c module*.o +clang -Wall -O2 -o $1.elf demo.c module*.o -lm ./$1.elf