summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2017-08-21 08:35:07 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2017-08-21 08:35:09 +0200
commitb4366978ae5bce1d7ccb5a8751c4f2431517edd4 (patch)
tree374e554fe23f52885f7dd3ec640d933ec7595844
parent69a99b3ceb8e9aee96cbb65130656902e07a06ef (diff)
downloadgnutls-b4366978ae5bce1d7ccb5a8751c4f2431517edd4.tar.gz
fuzz: temporarily disable -static build of fuzz/ in MacOSXgnutls_3_6_0
This allows running the MacOSX CI tests on travis. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
-rw-r--r--fuzz/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/fuzz/Makefile.am b/fuzz/Makefile.am
index 6d0d12e1a6..2f58cc2fd8 100644
--- a/fuzz/Makefile.am
+++ b/fuzz/Makefile.am
@@ -1,7 +1,12 @@
AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) -Wno-unused-parameter -Wno-pedantic
AM_CPPFLAGS = -I$(top_srcdir)/lib/includes -I$(top_builddir)/lib/includes -I$(srcdir) \
-DSRCDIR=\"$(abs_srcdir)\" -DTEST_RUN
+
+if !MACOSX
+# This flag prevents compilation on travis MACOSX build
AM_LDFLAGS = -static
+endif
+
LDADD = ../gl/libgnu.la ../lib/libgnutls.la \
$(LIBOBJS) $(GETADDRINFO_LIB) $(HOSTENT_LIB) $(INET_NTOP_LIB)\
$(LIBSOCKET) $(LIB_CLOCK_GETTIME) $(LIB_NANOSLEEP) $(LIB_POLL) $(LIB_PTHREAD)\