ayaports/user/grpc/makefile-use-system-abseil.patch

23 lines
821 B
Diff
Raw Normal View History

2023-01-11 13:38:21 +00:00
--- a/Makefile
+++ b/Makefile
2023-11-28 23:47:28 +00:00
@@ -575,8 +575,8 @@
2023-01-11 13:38:21 +00:00
# Setup abseil dependency
-GRPC_ABSEIL_DEP = $(LIBDIR)/$(CONFIG)/libgrpc_abseil.a
-GRPC_ABSEIL_MERGE_LIBS = $(LIBDIR)/$(CONFIG)/libgrpc_abseil.a
+GRPC_ABSEIL_DEP = -labsl_base -labsl_int128 -labsl_strings -labsl_time -labsl_bad_optional_access -labsl_throw_delegate -labsl_str_format_internal
+GRPC_ABSEIL_MERGE_LIBS = -labsl_base -labsl_int128 -labsl_strings -labsl_time -labsl_bad_optional_access -labsl_throw_delegate -labsl_str_format_internal
2023-11-28 23:47:28 +00:00
# Setup re2 dependency
@@ -2809,7 +2809,7 @@
2023-01-11 13:38:21 +00:00
third_party/abseil-cpp/absl/types/bad_variant_access.cc \
-LIBGRPC_ABSEIL_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_ABSEIL_SRC))))
+LIBGRPC_ABSEIL_OBJS =
2023-11-28 23:47:28 +00:00
$(LIBGRPC_ABSEIL_OBJS): CPPFLAGS += -g -Ithird_party/abseil-cpp
2023-01-11 13:38:21 +00:00