Accepting request 86375 from home:uli_suse:branches:Base:System

- cross-build fix: use %__cc macro, set HOSTCC

- cross-build fix: use %__cc macro, set HOSTCC

OBS-URL: https://build.opensuse.org/request/show/86375
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=16
This commit is contained in:
Dirk Mueller 2011-10-04 08:31:06 +00:00 committed by Git OBS Bridge
parent b9446f38d0
commit 232780dcf5
4 changed files with 14 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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}