Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
b5931405
Unverified
Commit
b5931405
authored
Mar 11, 2020
by
Dustin Collins
Browse files
Fix Pi building needing -latomic, backport
parent
fd441300
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Makefile
View file @
b5931405
...
@@ -77,6 +77,15 @@ FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
...
@@ -77,6 +77,15 @@ FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
FINAL_LIBS
=
-lm
FINAL_LIBS
=
-lm
DEBUG
=
-g
-ggdb
DEBUG
=
-g
-ggdb
# Linux ARM needs -latomic at linking time
ifneq
(,$(filter aarch64 armv,$(uname_M)))
FINAL_LIBS
+=
-latomic
else
ifneq
(,$(findstring armv,$(uname_M)))
FINAL_LIBS
+=
-latomic
endif
endif
ifeq
($(uname_S),SunOS)
ifeq
($(uname_S),SunOS)
# SunOS
# SunOS
ifneq
($(@@),32bit)
ifneq
($(@@),32bit)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment