From 9ff39368b26ffae32bff1b49885eeb788e6c66e7 Mon Sep 17 00:00:00 2001 From: David Haney Date: Sun, 18 Jul 2021 15:01:50 +0000 Subject: [PATCH] ICU-21680 Add -std flag when generating dependency information --- icu4c/source/config/mh-solaris | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icu4c/source/config/mh-solaris b/icu4c/source/config/mh-solaris index 5e2abcfeb59..a26b468d878 100644 --- a/icu4c/source/config/mh-solaris +++ b/icu4c/source/config/mh-solaris @@ -15,8 +15,8 @@ SHAREDLIBCXXFLAGS = -KPIC SHAREDLIBCPPFLAGS = -DPIC ## Commands to generate dependency files -GEN_DEPS.c= $(CC) -xM $(DEFS) $(CPPFLAGS) -GEN_DEPS.cc= $(CXX) -xM $(DEFS) $(CPPFLAGS) +GEN_DEPS.c= $(CC) -xM $(DEFS) $(CPPFLAGS) $(CFLAGS) +GEN_DEPS.cc= $(CXX) -xM $(DEFS) $(CPPFLAGS) $(CXXFLAGS) ifeq ($(UCLN_NO_AUTO_CLEANUP),0) # set up init point. -- 2.40.0