aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/cpp/helloworld/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cpp/helloworld/Makefile')
-rw-r--r--examples/cpp/helloworld/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cpp/helloworld/Makefile b/examples/cpp/helloworld/Makefile
index b80515abb0..8b6025f343 100644
--- a/examples/cpp/helloworld/Makefile
+++ b/examples/cpp/helloworld/Makefile
@@ -33,7 +33,7 @@ CXX = g++
CPPFLAGS += -I/usr/local/include -pthread
CXXFLAGS += -std=c++11
LDFLAGS += -L/usr/local/lib `pkg-config --libs grpc++ grpc` \
- -Wl,--no-as-needed -lgrpc++_reflection -Wl,--as-needed \
+ -lgrpc++_reflection \
-lprotobuf -lpthread -ldl
PROTOC = protoc
GRPC_CPP_PLUGIN = grpc_cpp_plugin