Skip to content

Commit

Permalink
fix compile on pi4, debian bookworm due to missing '_atomic_*'
Browse files Browse the repository at this point in the history
./configure && make fails reporting missing '_atomic_*' functions
	during link of r2pm.

compiled on pi4, 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

with gcc: version 12.2.0 (Raspbian 12.2.0-14+rpi1)

	modified:   mk/gcc.mk
  • Loading branch information
bsekisser committed Jan 15, 2025
1 parent b7d2fec commit e140ee5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mk/gcc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ AR?=ar
CC_AR=${AR} q ${LIBAR}
CFLAGS+=-MD
CFLAGS_INCLUDE=-I
LDFLAGS+=-latomic
LDFLAGS_LINK=-l
LDFLAGS_LINKPATH=-L
CFLAGS_OPT0=-O0
Expand Down

0 comments on commit e140ee5

Please sign in to comment.