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