- build with PIE

OBS-URL: https://build.opensuse.org/package/show/Base:System/less?expand=0&rev=48
This commit is contained in:
Marcus Meissner 2014-12-19 14:58:57 +00:00 committed by Git OBS Bridge
parent be02d5505a
commit bb27d56340
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 19 14:57:12 UTC 2014 - meissner@suse.com
- build with PIE
-------------------------------------------------------------------
Mon Nov 24 16:35:20 UTC 2014 - tchvatal@suse.com

View File

@ -62,6 +62,8 @@ cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} .
%build
autoreconf -fiv
export CFLAGS="$RPM_OPT_FLAGS -fPIE"
export LDFLAGS="-pie"
%configure --with-pic
#
# regenerate help.c because less.hlp was patched