From 0118cf0e65ef30de9a302a73e3c9a0c7000141a6 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Fri, 6 Mar 2015 22:42:02 +0100 Subject: [PATCH] Allow to specify environment variables for search paths. --- cpp/helloworld/Makefile | 6 +++--- cpp/route_guide/Makefile | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cpp/helloworld/Makefile b/cpp/helloworld/Makefile index 83f2ad49044..5a7c34faff3 100644 --- a/cpp/helloworld/Makefile +++ b/cpp/helloworld/Makefile @@ -30,9 +30,9 @@ # CXX = g++ -CPPFLAGS = -I/usr/local/include -pthread -CXXFLAGS = -std=c++11 -LDFLAGS = -L/usr/local/lib -lgrpc -lgrpc++ -lprotobuf -lpthread -ldl +CPPFLAGS += -I/usr/local/include -pthread +CXXFLAGS += -std=c++11 +LDFLAGS += -L/usr/local/lib -lgrpc -lgrpc++ -lprotobuf -lpthread -ldl PROTOC = protoc GRPC_CPP_PLUGIN = grpc_cpp_plugin GRPC_CPP_PLUGIN_PATH ?= `which $(GRPC_CPP_PLUGIN)` diff --git a/cpp/route_guide/Makefile b/cpp/route_guide/Makefile index 131956296cb..ea02944deef 100644 --- a/cpp/route_guide/Makefile +++ b/cpp/route_guide/Makefile @@ -30,9 +30,9 @@ # CXX = g++ -CPPFLAGS = -I/usr/local/include -pthread -CXXFLAGS = -std=c++11 -LDFLAGS = -L/usr/local/lib -lgpr -lgrpc -lgrpc++ -lprotobuf -lpthread -ldl +CPPFLAGS += -I/usr/local/include -pthread +CXXFLAGS += -std=c++11 +LDFLAGS += -L/usr/local/lib -lgpr -lgrpc -lgrpc++ -lprotobuf -lpthread -ldl PROTOC = protoc GRPC_CPP_PLUGIN = grpc_cpp_plugin GRPC_CPP_PLUGIN_PATH ?= `which $(GRPC_CPP_PLUGIN)`