From 98f77252713c4938042e7d4059c9339cf48a97fc Mon Sep 17 00:00:00 2001 From: retropikzel Date: Sat, 19 Jul 2025 21:01:26 +0300 Subject: [PATCH] Bring things to new compile-r7rs --- Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index efbdff8..728f9ae 100644 --- a/Makefile +++ b/Makefile @@ -60,15 +60,14 @@ test: ${TMPDIR}/test/libtest.o ${TMPDIR}/test/libtest.so ${TMPDIR}/test/libtest. cp tests/*.scm ${TMPDIR}/test/ cp tests/c-include/libtest.h ${TMPDIR}/test/ cd ${TMPDIR}/test && \ - COMPILE_R7RS_CHICKEN="-L -ltest -I. -L. -C -static" \ + COMPILE_R7RS_CHICKEN="-L -ltest -I. -L." \ COMPILE_R7RS_KAWA="-J--add-exports=java.base/jdk.internal.foreign.abi=ALL-UNNAMED -J--add-exports=java.base/jdk.internal.foreign.layout=ALL-UNNAMED -J--add-exports=java.base/jdk.internal.foreign=ALL-UNNAMED -J--enable-native-access=ALL-UNNAMED -J--enable-preview" \ COMPILE_R7RS=${SCHEME} \ compile-r7rs ${INCDIRS} -o ${TEST} ${TEST}.scm - cd ${TMPDIR}/test && \ - LD_LIBRARY_PATH=. \ - GUILE_AUTO_COMPILE=0 \ - timeout 60 \ - printf "\n" | ./${TEST} + cd ${TMPDIR}/test \ + && export LD_LIBRARY_PATH=. \ + && export GUILE_AUTO_COMPILE=0 \ + && timeout 60 printf "\n" | ./${TEST} test-compile-r7rs-snow: ${TMPDIR}/test/libtest.o ${TMPDIR}/test/libtest.so ${TMPDIR}/test/libtest.a cp tests/*.scm ${TMPDIR}/test/