Makefile: feature test macros to make dumb Linux happy

This commit is contained in:
Kosma Moczek 2014-09-02 22:18:43 +02:00
parent 6fa3e4646a
commit e9ee7cc0c1

View File

@ -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