- build with PIE

OBS-URL: https://build.opensuse.org/package/show/Archiving/bzip2?expand=0&rev=46
This commit is contained in:
Marcus Meissner 2014-12-19 11:03:03 +00:00 committed by Git OBS Bridge
parent 3379b020ff
commit f2c5cc8239
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 19 11:01:43 UTC 2014 - meissner@suse.com
- build with PIE
-------------------------------------------------------------------
Mon Nov 03 16:19:00 UTC 2014 - Led <ledest@gmail.com>

View File

@ -99,6 +99,8 @@ autoreconf -fiv
%if %{do_profiling}
export CFLAGS="$RPM_OPT_FLAGS %{cflags_profile_generate}"
%endif
export CFLAGS="$CFLAGS -fPIE"
export LDFLAGS="-pie"
%configure --with-pic --disable-static
%if %{do_profiling}
make %{?_smp_mflags}