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
a21d1522
Commit
a21d1522
authored
Oct 30, 2018
by
David Carlier
Committed by
David Carlier
Oct 30, 2018
Browse files
allow flavors
parent
6534b3e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Makefile
View file @
a21d1522
...
@@ -20,7 +20,7 @@ DEPENDENCY_TARGETS=hiredis linenoise lua
...
@@ -20,7 +20,7 @@ DEPENDENCY_TARGETS=hiredis linenoise lua
NODEPS
:=
clean distclean
NODEPS
:=
clean distclean
# Default settings
# Default settings
if
n
eq
($(
CC),clang
)
ifeq
(
,
$(
findstring clang,$(CC))
)
STD
=
-std
=
c99
-pedantic
-DREDIS_STATIC
=
''
STD
=
-std
=
c99
-pedantic
-DREDIS_STATIC
=
''
else
else
STD
=
-std
=
c11
-pedantic
-DREDIS_STATIC
=
''
STD
=
-std
=
c11
-pedantic
-DREDIS_STATIC
=
''
...
...
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