Skip to content

Commit

Permalink
missing atomic references...
Browse files Browse the repository at this point in the history
EXTRA_LIBS='-latomic' is not enough...
	qjsc needs to pass the same for producing output.

same issue or possibly related to issue...
	#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
  • Loading branch information
bsekisser committed Jan 15, 2025
1 parent 6e2e68f commit c35e6bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qjsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ static int output_executable(const char *out_filename, const char *cfilename,
*arg++ = "-lm";
*arg++ = "-ldl";
*arg++ = "-lpthread";
*arg++ = "-latomic";
*arg = NULL;

if (verbose) {
Expand Down

0 comments on commit c35e6bf

Please sign in to comment.