Add support for compilation on RaspberryPiZero (armv6)
More generally, add support for platforms with atomics, which not really linked to architecture but compiler features. This may also help on some mips for example.
This commit is contained in:
1 parent
c6d245b843
commit
0eea50f5a0
3 files changed
+3
-2
No files matched your search
+1
-1
@@ -31,7 +31,7 @@ platform = $(shell uname)
|
||||
VPATH = ../common ../zlib ../uart
|
||||
OBJDIR = obj
|
||||
|
||||
LDLIBS = -L/opt/local/lib -L/usr/local/lib -lreadline -lpthread -lm
|
||||
LDLIBS = -L/opt/local/lib -L/usr/local/lib -lreadline -lpthread -lm -Wl,--as-needed -latomic -Wl,--no-as-needed
|
||||
LUALIB = ../liblua/liblua.a
|
||||
JANSSONLIBPATH = ./jansson
|
||||
JANSSONLIB = $(JANSSONLIBPATH)/libjansson.a
|
||||
|
||||
Reference in new issue
Block a user