- disable PIE on sle11
OBS-URL: https://build.opensuse.org/package/show/server:irc/irssi?expand=0&rev=71
This commit is contained in:
parent
337b5c1875
commit
82ac6f9d1f
@ -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
|
Wed Sep 21 22:07:13 UTC 2016 - mrueckert@suse.de
|
||||||
|
|
||||||
|
@ -109,8 +109,14 @@ Authors:
|
|||||||
%if 0%{?sles_version} == 9
|
%if 0%{?sles_version} == 9
|
||||||
export PKG_CONFIG_PATH="/opt/gnome/%{_lib}/pkgconfig:$PKG_CONFIG_PATH"
|
export PKG_CONFIG_PATH="/opt/gnome/%{_lib}/pkgconfig:$PKG_CONFIG_PATH"
|
||||||
%endif
|
%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"
|
export LDFLAGS="-pie"
|
||||||
|
%endif
|
||||||
|
|
||||||
%configure \
|
%configure \
|
||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
--enable-ipv6 \
|
--enable-ipv6 \
|
||||||
|
Loading…
Reference in New Issue
Block a user