MT#55283 add -latomic

This is needed on armel due to

/usr/bin/ld: ./../lib/auxlib.h:513: undefined reference to `__atomic_compare_exchange_8'
/usr/bin/ld: ./../lib/auxlib.h:507: undefined reference to `__atomic_load_8'

etc

Change-Id: I37793cb4d166a9cd8004a7a6b45ce67cb98d3798
rfuchs/test
Richard Fuchs 7 months ago
parent 5ef45c2961
commit 5406e4efd8

@ -2,6 +2,7 @@ include ../lib/lib.Makefile
CFLAGS += -fPIE
LDFLAGS += -pie
LDLIBS += -latomic
all:
$(MAKE) $(TARGET) $(MANS)

Loading…
Cancel
Save