From 6b7e66d8f9257c09052586baad692ecae89aaa68 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Tue, 22 Jun 2021 21:23:52 +0100 Subject: [PATCH] [build] Remove -lboost_iostreams linker flag This was previously needed for thin-provisioning/thin_metadata_pack.cc but that file was rewritten in Rust and no longer needs Boost. The flag causes every binary to have a completely redundant depedency on libboost_iostream.so, which is an issue for RHEL packaging. --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index b29551d..ec665ca 100644 --- a/Makefile.in +++ b/Makefile.in @@ -190,7 +190,7 @@ CXXFLAGS+=@CXX_STRERROR_FLAG@ CXXFLAGS+=@LFS_FLAGS@ CPPFLAGS?=@CPPFLAGS@ CPPFLAGS+=-I$(TOP_BUILDDIR) -I$(TOP_DIR) -LIBS:=-laio -lexpat -lboost_iostreams -ldl +LIBS:=-laio -lexpat -ldl DEV_LIBS:=-lncurses ifeq ("@STATIC_CXX@", "yes")