fix the compile error in MacOSX

This commit is contained in:
Sukchan Lee 2018-06-23 22:10:39 +09:00
parent 2295636f36
commit 06e56a4509
1 changed files with 9 additions and 4 deletions

View File

@ -7,21 +7,26 @@ testcore_SOURCES = \
testaes.c testfile.c testlock.c testatomic.c testsha.c testtime.c \
testdir.c testfilecopy.c testmsgq.c testsleep.c testtimer.c \
testpkbuf.c testmisc.c testhash.c test3gpp.c \
abts.h abts_tests.h testutil.c testutil.h
abts.h abts_tests.h testutil.c testutil.h \
$(NULL)
if !USRSCTP
testcore_SOURCES += testsctp.c
endif
testcore_LDADD = \
$(top_srcdir)/lib/core/src/libcore.la
$(top_srcdir)/lib/core/src/libcore.la \
$(NULL)
AM_CPPFLAGS = \
-I$(top_srcdir)/lib/core/include
-I$(top_srcdir)/lib/core/include \
$(NULL)
AM_CFLAGS = \
-Wall -Werror @OSCPPFLAGS@ \
-Wno-unused-function -Wno-unused-variable -Wno-restrict
-Wno-unused-function -Wno-unused-variable -Wno-restrict \
-Wno-unknown-warning-option \
$(NULL)
TESTS = testcore