Makefile: fix tests on Darwin

This commit is contained in:
Kosma Moczek 2014-09-11 15:31:28 +02:00
parent 103a523096
commit f9584757c2

View File

@ -5,7 +5,7 @@
# published by Sam Hocevar. See the COPYING file for more details.
CFLAGS = -g -Wall -Wextra -Werror -std=c99
CFLAGS += -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE
CFLAGS += -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_DARWIN_C_SOURCE
LDLIBS = -lcheck
all: scan-build test example