From ac5fc7ba7e753a10b7aaf68faaebcce4d7c06aea Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 20 Mar 2011 12:27:16 -0500 Subject: [PATCH] use -pie for linking on sparc64 --- rsyslog.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsyslog.spec b/rsyslog.spec index 86642fb..c75abba 100644 --- a/rsyslog.spec +++ b/rsyslog.spec @@ -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"