Makefile: feature test macros to make dumb Linux happy
This commit is contained in:
parent
6fa3e4646a
commit
e9ee7cc0c1
1
Makefile
1
Makefile
@ -5,6 +5,7 @@
|
|||||||
# published by Sam Hocevar. See the COPYING file for more details.
|
# published by Sam Hocevar. See the COPYING file for more details.
|
||||||
|
|
||||||
CFLAGS = -g -Wall -Wextra -Werror -std=c99
|
CFLAGS = -g -Wall -Wextra -Werror -std=c99
|
||||||
|
CFLAGS += -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE
|
||||||
LDLIBS = -lcheck
|
LDLIBS = -lcheck
|
||||||
|
|
||||||
all: scan-build test example
|
all: scan-build test example
|
||||||
|
Loading…
Reference in New Issue
Block a user