From 2e191aa65f25e6b237b341b805c248874e868014acd413eba9828b15cb0a71bc Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 4 Oct 2011 09:25:56 +0000 Subject: [PATCH] Accepting request 86489 from home:uli_suse:branches:Base:System - cross-build fix: use %__cc, %__cxx macros OBS-URL: https://build.opensuse.org/request/show/86489 OBS-URL: https://build.opensuse.org/package/show/Base:System/acct?expand=0&rev=15 --- acct.changes | 5 +++++ acct.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/acct.changes b/acct.changes index 9c670c1..8ea97ff 100644 --- a/acct.changes +++ b/acct.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 4 10:37:43 UTC 2011 - uli@suse.com + +- cross-build fix: use %__cc, %__cxx macros + ------------------------------------------------------------------- Fri Sep 30 20:07:39 UTC 2011 - coolo@suse.com diff --git a/acct.spec b/acct.spec index 41c62bc..29d8031 100644 --- a/acct.spec +++ b/acct.spec @@ -65,10 +65,10 @@ CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \ --prefix=%{prefix} \ --infodir=%{_infodir} \ --sysconfdir=%{sysconfdir} -make %{?_smp_mflags} +make %{?_smp_mflags} CC="%{__cc}" CXX="%{__cxx}" %install -make DESTDIR=$RPM_BUILD_ROOT install +make DESTDIR=$RPM_BUILD_ROOT install CC="%{__cc}" CXX="%{__cxx}" install -d -m 755 $RPM_BUILD_ROOT/etc/{init.d,logrotate.d} install -m 755 %{S:1} $RPM_BUILD_ROOT/etc/init.d/acct install -m 644 %{S:2} $RPM_BUILD_ROOT/etc/logrotate.d/acct