Accepting request 86400 from home:uli_suse:branches:Base:System

- cross-build fix: use %__cc macro

OBS-URL: https://build.opensuse.org/request/show/86400
OBS-URL: https://build.opensuse.org/package/show/Base:System/i2c-tools?expand=0&rev=13
This commit is contained in:
Dirk Mueller 2011-10-04 08:43:19 +00:00 committed by Git OBS Bridge
parent 80c0373625
commit cbc881459b
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 30 15:24:24 UTC 2011 - uli@suse.com
- cross-build fix: use %__cc macro
-------------------------------------------------------------------
Mon Dec 13 21:20:20 CET 2010 - jdelvare@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package i2c-tools (Version 3.0.3)
# spec file for package i2c-tools
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -51,7 +51,7 @@ Authors:
%setup -q
%build
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" CC="%{__cc}"
%install
make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr