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

- cross-build fix: use %__cc macro

OBS-URL: https://build.opensuse.org/request/show/86392
OBS-URL: https://build.opensuse.org/package/show/Base:System/gpm?expand=0&rev=15
This commit is contained in:
Dirk Mueller 2011-10-04 08:36:21 +00:00 committed by Git OBS Bridge
parent b3ee77c87c
commit 0f010739f2
2 changed files with 9 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

@ -1,7 +1,7 @@
#
# spec file for package gpm (Version 1.20.6)
# spec file for package gpm
#
# 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
@ -32,7 +32,7 @@ Obsoletes: gpm-64bit
%endif
#
Version: 1.20.6
Release: 2
Release: 3
Summary: Console Mouse Support
Source0: gpm-%{version}.tar.lzma
Source1: gpm-%{version}-patches.tar.lzma
@ -117,7 +117,7 @@ CFLAGS="$RPM_OPT_FLAGS -DQUIET_LIBGPM" \
%configure --disable-static \
--sysconfdir=/etc/gpm
%ifarch %arm
make CC="gcc -lm"
make CC="%{__cc} -lm"
%endif
make %{?_smp_mflags}
%__cc %{optflags} -o inputattach %{SOURCE6}