From 3429eee978896983b70f5e48aedf4404fba5dbdc5a0e873ea75a3d5af14ff573 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 4 Jul 2017 05:23:33 +0000 Subject: [PATCH] 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 --- xz.changes | 5 +++++ xz.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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