From 0f010739f20f1c1f0c4d376551708e80dc8d99aacd71ac90efd3d2b064888008 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 4 Oct 2011 08:36:21 +0000 Subject: [PATCH] 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 --- gpm.changes | 5 +++++ gpm.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gpm.changes b/gpm.changes index c1ff7b5..8de2224 100644 --- a/gpm.changes +++ b/gpm.changes @@ -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 diff --git a/gpm.spec b/gpm.spec index 90a9372..eda164e 100644 --- a/gpm.spec +++ b/gpm.spec @@ -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}