From 2156b4ba7e8a5228e1f97f8f99f9d1a697fa19e12671fdb39aa75925125a8c50 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Wed, 5 Oct 2011 15:50:17 +0000 Subject: [PATCH] Accepting request 86674 from home:uli_suse:branches:Education - cross-build fix: use %__cc macro OBS-URL: https://build.opensuse.org/request/show/86674 OBS-URL: https://build.opensuse.org/package/show/Education/garlic?expand=0&rev=4 --- garlic.changes | 5 +++++ garlic.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/garlic.changes b/garlic.changes index e5701a7..a9178c1 100644 --- a/garlic.changes +++ b/garlic.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 5 12:46:04 UTC 2011 - uli@suse.com + +- cross-build fix: use %__cc macro + ------------------------------------------------------------------- Mon Nov 8 13:21:56 UTC 2010 - coolo@novell.com diff --git a/garlic.spec b/garlic.spec index 5795143..11e6689 100644 --- a/garlic.spec +++ b/garlic.spec @@ -1,7 +1,7 @@ # -# spec file for package garlic (Version 1.6) +# spec file for package garlic # -# 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 @@ -62,7 +62,7 @@ chmod -x README favicon.ico tolower.script garlic.gif cookbook/garlic.gif precom cd .. %build -make %{?jobs:-j%jobs} CCOPT="$RPM_OPT_FLAGS" LIBPATH="-L/usr/%{_lib}" +make %{?jobs:-j%jobs} CC="%__cc" CCOPT="$RPM_OPT_FLAGS" LIBPATH="-L/usr/%{_lib}" %install mkdir -p $RPM_BUILD_ROOT/{usr/%{_xorg7bin},etc,%{_xorg7_mandir}/man1/}