diff options
author | Muxi Yan <mxyan@google.com> | 2016-07-26 13:28:54 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2016-07-26 13:28:54 -0700 |
commit | 4e3df00f0093293ec821f6ddf5598747d5e3c25f (patch) | |
tree | 4ce1e353a47bd03b608f2facc65c998e31d61ea8 | |
parent | 39e151b0f86d768b8e6718961466015065736d37 (diff) |
Removed --no-as-needed options from Makefile of HelloWorld and RouteGuide
-rw-r--r-- | examples/cpp/helloworld/Makefile | 2 | ||||
-rw-r--r-- | examples/cpp/route_guide/Makefile | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/examples/cpp/route_guide/Makefile b/examples/cpp/route_guide/Makefile index 9ee5119509..482c87cce0 100644 --- a/examples/cpp/route_guide/Makefile +++ b/examples/cpp/route_guide/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++` \ - -Wl,--no-as-needed -lgrpc++_reflection -Wl,--as-needed \ + -lgrpc++_reflection \ -lprotobuf -lpthread -ldl PROTOC = protoc GRPC_CPP_PLUGIN = grpc_cpp_plugin |