From 33f2bfe7415d0e8d248d7c59a2eccf9e94417860cc64d519018b0ec93f52a007 Mon Sep 17 00:00:00 2001 From: OBS User mrdocs Date: Fri, 7 Oct 2011 03:57:27 +0000 Subject: [PATCH] Accepting request 86736 from home:uli_suse:branches:utilities - cross-build workaround: fake gcc script to work around build system not honoring CC OBS-URL: https://build.opensuse.org/request/show/86736 OBS-URL: https://build.opensuse.org/package/show/utilities/fdupes?expand=0&rev=3 --- fdupes.changes | 6 ++++++ fdupes.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/fdupes.changes b/fdupes.changes index 34a4a33..87feb61 100644 --- a/fdupes.changes +++ b/fdupes.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Oct 5 15:14:32 UTC 2011 - uli@suse.com + +- cross-build workaround: fake gcc script to work around build + system not honoring CC + ------------------------------------------------------------------- Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de diff --git a/fdupes.spec b/fdupes.spec index 3b0b6bc..ed57bde 100644 --- a/fdupes.spec +++ b/fdupes.spec @@ -44,6 +44,9 @@ residing within specified directories %patch3 -p1 -b .endianness %build +echo -e "#!/bin/bash\n`which %__cc` \"\$@\"" >gcc +chmod 755 gcc +export PATH=`pwd`:$PATH make %{?_smp_mflags} %install