From 12c15f47fe68bcf8b32f55f3ca42638fd4eda998 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Sun, 7 Dec 2014 16:57:54 -0800 Subject: build: FreeBSD 11-Current causes libtool to fail with '-shared' Thanks for Markiyan Kushnir for reporting this Change-Id: I7f637295c7c2d54c33a4c16e29daf0b518874911 BUG: 1111774 Signed-off-by: Harshavardhana Reviewed-on: http://review.gluster.org/9251 Tested-by: Gluster Build System Reviewed-by: Niels de Vos --- xlators/features/compress/src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators/features/compress') diff --git a/xlators/features/compress/src/Makefile.am b/xlators/features/compress/src/Makefile.am index 4a4c8b1a8dd..2f79e66a82d 100644 --- a/xlators/features/compress/src/Makefile.am +++ b/xlators/features/compress/src/Makefile.am @@ -9,8 +9,8 @@ cdc_la_LDFLAGS = -module -avoid-version cdc_la_SOURCES = cdc.c cdc-helper.c cdc_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(ZLIB_LIBS) -AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D$(GF_HOST_OS) \ --shared $(LIBZ_CFLAGS) +AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src -fPIC \ + -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D$(GF_HOST_OS) $(LIBZ_CFLAGS) AM_CFLAGS = -Wall $(GF_CFLAGS) -- cgit