You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

48 lines
1.7 KiB

Index: Makefile
--- Makefile.orig 2018-08-02 08:00:03.000000000 +0200
+++ Makefile 2018-08-04 13:48:54.122711000 +0200
@@ -352,9 +352,9 @@
ifeq ($(SYSTEM),Darwin)
CXXFLAGS += -stdlib=libc++
endif
-CPPFLAGS += -g -Wall -Wextra -Werror -Wno-long-long -Wno-unused-parameter -DOSATOMIC_USE_INLINED=1 -Wno-deprecated-declarations -Ithird_party/nanopb -DPB_FIELD_32BIT
+CPPFLAGS += -Wno-long-long -Wno-unused-parameter -DOSATOMIC_USE_INLINED=1 -Wno-deprecated-declarations -Ithird_party/nanopb -DPB_FIELD_32BIT
COREFLAGS += -fno-rtti -fno-exceptions
-LDFLAGS += -g
+LDFLAGS +=
CPPFLAGS += $(CPPFLAGS_$(CONFIG))
CFLAGS += $(CFLAGS_$(CONFIG))
@@ -863,7 +863,7 @@
.SECONDARY = %.pb.h %.pb.cc
ifeq ($(DEP_MISSING),)
-all: static shared plugins
+all: static plugins
dep_error:
@echo "You shouldn't see this message - all of your dependencies are correct."
else
@@ -2891,9 +2891,9 @@
install: install_c install_cxx install-plugins install-certs
-install_c: install-headers_c install-static_c install-shared_c
+install_c: install-headers_c install-static_c
-install_cxx: install-headers_cxx install-static_cxx install-shared_cxx
+install_cxx: install-headers_cxx install-static_cxx
install_csharp: install-shared_csharp install_c
@@ -2995,11 +2995,6 @@
$(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(prefix)/lib/libgrpc_unsecure.so.6
$(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(prefix)/lib/libgrpc_unsecure.so
endif
-ifneq ($(SYSTEM),MINGW32)
-ifneq ($(SYSTEM),Darwin)
- $(Q) ldconfig || true
-endif
-endif
install-shared_cxx: shared_cxx strip-shared_cxx install-shared_c install-pkg-config_cxx