From 8f6afb3079848a71082692b49ca94aad8ea5392a Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 16 Sep 2017 22:09:50 -0400 Subject: [PATCH] Fix -pipe warning under SunCC --- GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 6ec1ccc9..c5d7138f 100755 --- a/GNUmakefile +++ b/GNUmakefile @@ -396,9 +396,9 @@ ifneq ($(IS_LINUX)$(GCC_COMPILER)$(CLANG_COMPILER)$(INTEL_COMPILER),0000) CXXFLAGS += -pthread endif # CXXFLAGS -# Add -pipe for everything except IBM XL C/C++ and ARM. +# Add -pipe for everything except IBM XL C/C++, SunCC and ARM. # Allow ARM-64 because they seems to have >1 GB of memory -ifeq ($(XLC_COMPILER)$(IS_ARM32),00) +ifeq ($(XLC_COMPILER)$(SUN_COMPILER)$(IS_ARM32),000) ifeq ($(findstring -save-temps,$(CXXFLAGS)),) CXXFLAGS += -pipe endif