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
ebfbb091
Unverified
Commit
ebfbb091
authored
Apr 26, 2021
by
Yossi Gottlieb
Committed by
GitHub
Apr 26, 2021
Browse files
Remove redundant -latomic on arm64. (#8867)
parent
074e28a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Makefile
View file @
ebfbb091
...
...
@@ -93,14 +93,10 @@ FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
FINAL_LIBS
=
-lm
DEBUG
=
-g
-ggdb
# Linux ARM needs -latomic at linking time
ifneq
(,$(filter aarch64 armv,$(uname_M)))
FINAL_LIBS
+=
-latomic
else
# Linux ARM32 needs -latomic at linking time
ifneq
(,$(findstring armv,$(uname_M)))
FINAL_LIBS
+=
-latomic
endif
endif
ifeq
($(uname_S),SunOS)
# SunOS
...
...
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