SHA256
1
0
forked from pool/acct

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
This commit is contained in:
Dirk Mueller 2011-10-04 09:25:56 +00:00 committed by Git OBS Bridge
parent 9dff97a804
commit 2e191aa65f
2 changed files with 7 additions and 2 deletions

View File

@ -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 Fri Sep 30 20:07:39 UTC 2011 - coolo@suse.com

View File

@ -65,10 +65,10 @@ CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
--prefix=%{prefix} \ --prefix=%{prefix} \
--infodir=%{_infodir} \ --infodir=%{_infodir} \
--sysconfdir=%{sysconfdir} --sysconfdir=%{sysconfdir}
make %{?_smp_mflags} make %{?_smp_mflags} CC="%{__cc}" CXX="%{__cxx}"
%install %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 -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 755 %{S:1} $RPM_BUILD_ROOT/etc/init.d/acct
install -m 644 %{S:2} $RPM_BUILD_ROOT/etc/logrotate.d/acct install -m 644 %{S:2} $RPM_BUILD_ROOT/etc/logrotate.d/acct