- disable PIE on sle11

OBS-URL: https://build.opensuse.org/package/show/server:irc/irssi?expand=0&rev=71
This commit is contained in:
Marcus Rückert 2016-09-21 22:29:13 +00:00 committed by Git OBS Bridge
parent 337b5c1875
commit 82ac6f9d1f
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Sep 21 22:24:11 UTC 2016 - mrueckert@suse.de
- disable PIE on sle11
-------------------------------------------------------------------
Wed Sep 21 22:07:13 UTC 2016 - mrueckert@suse.de

View File

@ -109,8 +109,14 @@ Authors:
%if 0%{?sles_version} == 9
export PKG_CONFIG_PATH="/opt/gnome/%{_lib}/pkgconfig:$PKG_CONFIG_PATH"
%endif
export CFLAGS="%{optflags} -fno-strict-aliasing -DGLIB_DISABLE_DEPRECATION_WARNINGS -fPIE"
export CFLAGS="%{optflags} -fno-strict-aliasing -DGLIB_DISABLE_DEPRECATION_WARNINGS"
%if 0%{?suse_version} > 1110
export CFLAGS="$CFLAGS -fPIE"
export LDFLAGS="-pie"
%endif
%configure \
--disable-silent-rules \
--enable-ipv6 \