diff --git a/busybox-static.changes b/busybox-static.changes index 43e4ea5..a624f34 100644 --- a/busybox-static.changes +++ b/busybox-static.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 14:46:04 UTC 2011 - uli@suse.com + +- cross-build fix: use %__cc macro, set HOSTCC + ------------------------------------------------------------------- Sat Sep 17 21:08:55 UTC 2011 - jengelh@medozas.de diff --git a/busybox-static.spec b/busybox-static.spec index 36cdc04..cdcee8f 100644 --- a/busybox-static.spec +++ b/busybox-static.spec @@ -76,6 +76,8 @@ find -name .gitignore | xargs rm -rf export VERBOSE=-v export BUILD_VERBOSE=2 export CFLAGS="%{optflags} -fno-strict-aliasing" +export CC="%{__cc}" +export HOSTCC=gcc # somehow uClibc prefers it's own ar.h header, so rename it mv include/ar.h include/b_ar.h sed -i -e 's/"ar.h"/"b_ar.h"/' archival/*.c archival/*/*.c diff --git a/busybox.changes b/busybox.changes index 8c35c6d..638a854 100644 --- a/busybox.changes +++ b/busybox.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 14:45:39 UTC 2011 - uli@suse.com + +- cross-build fix: use %__cc macro, set HOSTCC + ------------------------------------------------------------------- Sat Sep 17 21:08:48 UTC 2011 - jengelh@medozas.de diff --git a/busybox.spec b/busybox.spec index 12a99cb..428df50 100644 --- a/busybox.spec +++ b/busybox.spec @@ -73,6 +73,8 @@ find -name .gitignore | xargs rm -rf export VERBOSE=-v export BUILD_VERBOSE=2 export CFLAGS="%{optflags} -fno-strict-aliasing" +export CC="%{__cc}" +export HOSTCC=gcc make -e oldconfig make -e %{?_smp_mflags} make -e doc busybox.links %{?_smp_mflags}