use -pie for linking on sparc64

This commit is contained in:
Dennis Gilmore 2011-03-20 12:27:16 -05:00
parent df31784a31
commit ac5fc7ba7e

View File

@ -132,7 +132,7 @@ of source ports.
%ifarch sparc64
#sparc64 need big PIE
export CFLAGS="$RPM_OPT_FLAGS -fPIE -DSYSLOGD_PIDNAME=\\\"syslogd.pid\\\""
export LDFLAGS="-PIE -Wl,-z,relro -Wl,-z,now"
export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
%else
export CFLAGS="$RPM_OPT_FLAGS -fpie -DSYSLOGD_PIDNAME=\\\"syslogd.pid\\\""
export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"