From db8b0952bcc03a3b8cdc4737aaab37a1fd1426a2f7fc7e7fd20c73acdad64c3e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 4 Oct 2011 08:33:38 +0000 Subject: [PATCH] Accepting request 86412 from home:uli_suse:branches:Base:System - cross-build fix: use %__cc macro OBS-URL: https://build.opensuse.org/request/show/86412 OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=20 --- logrotate.changes | 5 +++++ logrotate.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/logrotate.changes b/logrotate.changes index fee9788..e723853 100644 --- a/logrotate.changes +++ b/logrotate.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 15:34:40 UTC 2011 - uli@suse.com + +- cross-build fix: use %__cc macro + ------------------------------------------------------------------- Wed Sep 7 14:30:29 UTC 2011 - vcizek@suse.com diff --git a/logrotate.spec b/logrotate.spec index 9f849c2..2196b0b 100644 --- a/logrotate.spec +++ b/logrotate.spec @@ -60,7 +60,7 @@ daily cron job. %patch8 -p1 %build -make %{?_smp_mflags} RPM_OPT_FLAGS="%{optflags}" WITH_SELINUX=yes +make %{?_smp_mflags} CC="%__cc" RPM_OPT_FLAGS="%{optflags}" WITH_SELINUX=yes %check make test