use -pie for linking on sparc64
This commit is contained in:
parent
df31784a31
commit
ac5fc7ba7e
@ -132,7 +132,7 @@ of source ports.
|
|||||||
%ifarch sparc64
|
%ifarch sparc64
|
||||||
#sparc64 need big PIE
|
#sparc64 need big PIE
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fPIE -DSYSLOGD_PIDNAME=\\\"syslogd.pid\\\""
|
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
|
%else
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fpie -DSYSLOGD_PIDNAME=\\\"syslogd.pid\\\""
|
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user