missing atomic references...

EXTRA_LIBS='-latomic' is not enough...
	qjsc needs to pass the same for producing output.

same issue or possibly related to issue...
	https://github.com/bellard/quickjs/issues/321

compiling platform uname -a
	Linux raspberrypi 6.6.62+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.62-1+rpt1 (2024-11-25) aarch64 GNU/Linux

	modified:   qjsc.c
This commit is contained in:
bsekisser 2025-01-15 17:11:34 -05:00
parent 6e2e68fd08
commit c35e6bf288

1
qjsc.c
View File

@ -451,6 +451,7 @@ static int output_executable(const char *out_filename, const char *cfilename,
*arg++ = "-lm"; *arg++ = "-lm";
*arg++ = "-ldl"; *arg++ = "-ldl";
*arg++ = "-lpthread"; *arg++ = "-lpthread";
*arg++ = "-latomic";
*arg = NULL; *arg = NULL;
if (verbose) { if (verbose) {