Accepting request 265912 from Archiving
- build with PIE OBS-URL: https://build.opensuse.org/request/show/265912 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bzip2?expand=0&rev=52
This commit is contained in:
commit
628c8900a3
@ -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>
|
||||
|
||||
|
@ -99,18 +99,20 @@ autoreconf -fiv
|
||||
%if %{do_profiling}
|
||||
export CFLAGS="$RPM_OPT_FLAGS %{cflags_profile_generate}"
|
||||
%endif
|
||||
export CFLAGS="$CFLAGS -fPIE"
|
||||
%configure --with-pic --disable-static
|
||||
%if %{do_profiling}
|
||||
make %{?_smp_mflags}
|
||||
make %{?_smp_mflags} LDFLAGS="-pie"
|
||||
profile_bzip2
|
||||
mkdir .libs.save
|
||||
mv .libs/*.gcda .libs.save/
|
||||
make clean
|
||||
mv .libs.save .libs
|
||||
export CFLAGS="$RPM_OPT_FLAGS %{cflags_profile_feedback}"
|
||||
export CFLAGS="$CFLAGS -fPIE"
|
||||
%configure --with-pic --disable-static
|
||||
%endif
|
||||
make %{?_smp_mflags}
|
||||
make %{?_smp_mflags} LDFLAGS="-pie"
|
||||
|
||||
%install
|
||||
%makeinstall pkgconfigdir=%{_libdir}/pkgconfig
|
||||
|
Loading…
Reference in New Issue
Block a user