From db35efb33e81d0a013e09a8a6ffa362ad5962f7c Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sat, 4 Jun 2016 16:24:17 +0200 Subject: [PATCH] src/Makefile: Don't unnecessarily set plugin specific CXXFLAGS. Also, drop unneeded -lphread / -ldl from grpc's libraries. --- src/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 4dff62d7..183567d5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -434,10 +434,9 @@ pkglib_LTLIBRARIES += grpc.la grpc_la_SOURCES = grpc.cc nodist_grpc_la_SOURCES = collectd.grpc.pb.cc collectd.pb.cc types.pb.cc grpc_la_CPPFLAGS = $(AM_CPPFLAGS) -std=c++11 -grpc_la_CFLAGS = $(AM_CFLAGS) grpc_la_CXXFLAGS = $(AM_CXXFLAGS) -std=c++11 grpc_la_LDFLAGS = $(PLUGIN_LDFLAGS) -grpc_la_LIBADD = -lgrpc++ -lgrpc -lgpr -lprotobuf -lpthread -ldl +grpc_la_LIBADD = -lgrpc++ -lgrpc -lgpr -lprotobuf endif if BUILD_PLUGIN_HDDTEMP -- 2.11.0