Remove -R. from Solaris shared build (possible security issue).

This commit is contained in:
Mark Adler 2012-04-22 18:41:11 -07:00
parent 6635b78987
commit cc538ebf79

2
configure vendored
View File

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