diff --git a/xz.changes b/xz.changes index 170457e..b916a9e 100644 --- a/xz.changes +++ b/xz.changes @@ -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 diff --git a/xz.spec b/xz.spec index b07232b..90576b4 100644 --- a/xz.spec +++ b/xz.spec @@ -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