Accepting request 86576 from Base:System

- cross-build fix: use %__cc macro

OBS-URL: https://build.opensuse.org/request/show/86576
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gpm?expand=0&rev=30
This commit is contained in:
Lars Vogdt 2011-10-04 19:33:27 +00:00 committed by Git OBS Bridge
commit 8f472e3d3a
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 30 15:18:56 UTC 2011 - uli@suse.com
- cross-build fix: use %__cc macro
-------------------------------------------------------------------
Thu Jan 27 16:57:52 CET 2011 - pth@suse.de

View File

@ -116,10 +116,7 @@ autoreconf -fi
CFLAGS="$RPM_OPT_FLAGS -DQUIET_LIBGPM" \
%configure --disable-static \
--sysconfdir=/etc/gpm
%ifarch %arm
make CC="gcc -lm"
%endif
make %{?_smp_mflags}
make CC="%{__cc}" %{?_smp_mflags}
%__cc %{optflags} -o inputattach %{SOURCE6}
%install