diff --git a/Makefile b/Makefile index fd98ab5a60a6d..303c46e60f24d 100644 --- a/Makefile +++ b/Makefile @@ -579,7 +579,7 @@ CPPFLAGS := -Ithird_party/address_sorting/include $(CPPFLAGS) GRPC_ABSEIL_DEP = $(LIBDIR)/$(CONFIG)/libgrpc_abseil.a GRPC_ABSEIL_MERGE_LIBS = $(LIBDIR)/$(CONFIG)/libgrpc_abseil.a ifeq ($(HOST_IS_X86_64),true) -ABSL_RANDOM_HWAES_FLAGS = -maes -msse4 +ABSL_RANDOM_HWAES_FLAGS = -maes else ABSL_RANDOM_HWAES_FLAGS = endif diff --git a/templates/Makefile.template b/templates/Makefile.template index 5afb36ce6a47f..7e47866b37e48 100644 --- a/templates/Makefile.template +++ b/templates/Makefile.template @@ -442,7 +442,7 @@ GRPC_ABSEIL_DEP = $(LIBDIR)/$(CONFIG)/libgrpc_abseil.a GRPC_ABSEIL_MERGE_LIBS = $(LIBDIR)/$(CONFIG)/libgrpc_abseil.a ifeq ($(HOST_IS_X86_64),true) - ABSL_RANDOM_HWAES_FLAGS = -maes -msse4 + ABSL_RANDOM_HWAES_FLAGS = -maes else ABSL_RANDOM_HWAES_FLAGS = endif