From cc538ebf79223487a958e4fc77abde0664e45747 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Sun, 22 Apr 2012 18:41:11 -0700 Subject: [PATCH] Remove -R. from Solaris shared build (possible security issue). --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 31435387..e672f36e 100755 --- a/configure +++ b/configure @@ -277,7 +277,7 @@ else LDSHARED=${LDSHARED-"cc -dy -KPIC -G"} ;; SunOS\ 5* | solaris*) LDSHARED=${LDSHARED-"cc -G -h libz$shared_ext.$VER1"} - SFLAGS=${CFLAGS-"-fast -KPIC -R."} + SFLAGS=${CFLAGS-"-fast -KPIC"} CFLAGS=${CFLAGS-"-fast"} if test $build64 -eq 1; then # old versions of SunPRO/Workshop/Studio don't support -m64,