standalone: Fix missing libraries when linking
Fixes `undefined reference to 'pow'` for pow.py using -O0.
This commit is contained in:
parent
2a775d822e
commit
7140901261
|
@ -18,5 +18,5 @@ rm -f "*.o" demo
|
|||
|
||||
$nac3standalone "$@"
|
||||
clang -c -std=gnu11 -Wall -Wextra -O3 -o demo.o demo.c
|
||||
clang -o demo module.o demo.o
|
||||
clang -lm -o demo module.o demo.o
|
||||
./demo
|
||||
|
|
Loading…
Reference in New Issue