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}