From b51faab9b3d173667632af5f001df6ab766fe676 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 9 Sep 2018 03:44:50 -0400 Subject: [PATCH] Update comments in GNU Makefile --- GNUmakefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index bd765b5a..592b59dc 100755 --- a/GNUmakefile +++ b/GNUmakefile @@ -560,10 +560,11 @@ ifneq ($(HAVE_PTHREAD),0) endif # CXXFLAGS endif # CXXFLAGS -# Remove -fPIC if present. SunCC use -KPIC +# Remove -fPIC if present. SunCC use -KPIC, and needs the larger GOT table +# https://docs.oracle.com/cd/E19205-01/819-5267/bkbaq/index.html ifeq ($(SUN_COMPILER),1) CXXFLAGS := $(subst -fPIC,-KPIC,$(CXXFLAGS)) - CXXFLAGS := $(subst -fpic,-Kpic,$(CXXFLAGS)) + CXXFLAGS := $(subst -fpic,-KPIC,$(CXXFLAGS)) endif # For SunOS and SunCC Sun wants folks to use -xregs=no%appl