Fix -pipe warning under SunCC

pull/507/head
Jeffrey Walton 2017-09-16 22:09:50 -04:00
parent f3c04dbcb7
commit 8f6afb3079
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 2 additions and 2 deletions

View File

@ -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