From c6792dac03b5cc9f3abce1da36a418eefc83f736 Mon Sep 17 00:00:00 2001 From: herman ten brugge Date: Tue, 27 May 2025 20:50:33 +0200 Subject: [PATCH] Add LIBS when testing tccb on bsd ldexpl is in -lm library on bsd --- tests/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index db02e71e..6e0f3bd6 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -204,9 +204,9 @@ btest: boundtest.c tccb: @echo ------------ $@ ------------ - $(TCC) -b $(TOPSRC)/tcc.c $(TCCFLAGS) -o tccb1.exe + $(TCC) -b $(TOPSRC)/tcc.c $(TCCFLAGS) $(LIBS) -o tccb1.exe mv tccb1.exe tccb2.exe - ./tccb2.exe -b $(TOPSRC)/tcc.c $(TCCFLAGS) -o tccb1.exe + ./tccb2.exe -b $(TOPSRC)/tcc.c $(TCCFLAGS) $(LIBS) -o tccb1.exe cmp -s tccb1.exe tccb2.exe && echo "Exe Bound-Test OK"