From f4ef75ef91754bd91015665fe5d0c4ba0b10b5d1 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Thu, 9 Jun 2016 00:54:53 -0400 Subject: [PATCH] Fix GCC and Solaris builds picking up Sun Studio flags --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 4c95f807..9c50dc0c 100755 --- a/GNUmakefile +++ b/GNUmakefile @@ -50,7 +50,7 @@ endif ########################################################### # Base CXXFLAGS used if the user did not specify them -ifeq ($(IS_SUN),1) +ifeq ($(SUN_COMPILER),1) CXXFLAGS ?= -DNDEBUG -g3 -xO2 else CXXFLAGS ?= -DNDEBUG -g2 -O2