From 2abedfe19f5767ea4993701757c5b57203fe93207026bc6cf2d439581872b1a7 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 4 Oct 2011 08:34:39 +0000 Subject: [PATCH] Accepting request 86379 from home:uli_suse:branches:Base:System - cross-build fix: use %__cc macro OBS-URL: https://build.opensuse.org/request/show/86379 OBS-URL: https://build.opensuse.org/package/show/Base:System/dosfstools?expand=0&rev=23 --- dosfstools.changes | 5 +++++ dosfstools.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/dosfstools.changes b/dosfstools.changes index 9283098..73411e9 100644 --- a/dosfstools.changes +++ b/dosfstools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 14:51:02 UTC 2011 - uli@suse.com + +- cross-build fix: use %__cc macro + ------------------------------------------------------------------- Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de diff --git a/dosfstools.spec b/dosfstools.spec index 6329f4f..0602cdc 100644 --- a/dosfstools.spec +++ b/dosfstools.spec @@ -46,7 +46,7 @@ drives or on floppies. %patch3 -p1 %build -make OPTFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE $RPM_OPT_FLAGS" %{?_smp_mflags} +make CC="%__cc" OPTFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE $RPM_OPT_FLAGS" %{?_smp_mflags} %install %makeinstall