SHA256
3
0
forked from pool/xz

Accepting request 507445 from home:olh:branches:Base:System

- Really use the selfdefined CFLAGS during build to fix build

OBS-URL: https://build.opensuse.org/request/show/507445
OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=92
This commit is contained in:
Dirk Mueller 2017-07-04 05:23:33 +00:00 committed by Git OBS Bridge
parent 9894a94cf7
commit 3429eee978
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 30 18:25:33 UTC 2017 - olaf@aepfle.de
- Really use the selfdefined CFLAGS during build to fix build
-------------------------------------------------------------------
Sun Jun 25 11:37:03 UTC 2017 - astieger@suse.com

View File

@ -93,10 +93,10 @@ export LDFLAGS="-Wl,-z,relro,-z,now -pie"
--with-pic \
--docdir=%{_docdir}/%{name}
%if 0%{?do_profiling}
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
make %{?_smp_mflags} CFLAGS="${CFLAGS} %{cflags_profile_generate}"
make check %{?_smp_mflags}
make clean
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}"
make %{?_smp_mflags} CFLAGS="${CFLAGS} %{cflags_profile_feedback}"
%else
make %{?_smp_mflags}
%endif