From de590b8457eb9a507ffcca445c67039ea1532420 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 15 Jan 2011 13:37:16 +0100 Subject: [PATCH] lib/Makefile: build -Wno-error for included libfetch for now. --- lib/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile index 4cd429f3..516fa149 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -24,8 +24,10 @@ endif LIBFETCH_OBJS = fetch/common.o fetch/fetch.o fetch/file.o LIBFETCH_OBJS += fetch/ftp.o fetch/http.o LIBFETCH_CPPFLAGS = -DFTP_COMBINE_CWDS -DNETBSD -DINET6 -DWITH_SSL -LIBFETCH_CFLAGS = -Wno-unused-macros -Wno-conversion +LIBFETCH_CFLAGS = -Wno-error -Wno-unused-macros -Wno-conversion +ifdef HAVE_VISIBILITY LIBFETCH_SHLIBCFLAGS = -fvisibility=hidden +endif LIBFETCH_INCS = fetch/common.h LIBFETCH_GEN = fetch/ftperr.h fetch/httperr.h