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
hiredis
Commits
e54def88
Commit
e54def88
authored
Aug 14, 2012
by
Pieter Noordhuis
Browse files
Define POSIX.1-2001
parent
3ce256cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Makefile.common
View file @
e54def88
...
...
@@ -12,7 +12,7 @@ STLIBNAME= $(LIBNAME).$(STLIBSUFFIX)
STLIB_MAKE_CMD
=
ar rcs
$(STLIBNAME)
# Default settings
STD
=
-std
=
c99
-pedantic
STD
=
-std
=
c99
-pedantic
-D_POSIX_C_SOURCE
=
200112L
WARN
=
-Wall
-W
-Wstrict-prototypes
-Wwrite-strings
-Wno-unused-label
OPT
=
-O3
FINAL_CFLAGS
=
$(STD)
$(WARN)
$(OPT)
$(DEBUG)
-fPIC
$(CFLAGS)
$(HIREDIS_CFLAGS)
...
...
test/Makefile
View file @
e54def88
include
../src/Makefile.common
STD
=
-std
=
c99
-pedantic
STD
=
-std
=
c99
-pedantic
-D_POSIX_C_SOURCE
=
200112L
OPT
=
-O0
WARN
=
-Wall
-W
HIREDIS_CFLAGS
+=
-I
../src
...
...
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