SHA256
1
0
forked from pool/busybox

Accepting request 86402 from Base:System

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

- cross-build fix: use %__cc macro, set HOSTCC (forwarded request 86375 from uli_suse)

OBS-URL: https://build.opensuse.org/request/show/86402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=26
This commit is contained in:
Ruediger Oertel 2011-10-04 16:07:31 +00:00 committed by Git OBS Bridge
commit c499d2565e
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 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 VERBOSE=-v
export BUILD_VERBOSE=2 export BUILD_VERBOSE=2
export CFLAGS="%{optflags} -fno-strict-aliasing" export CFLAGS="%{optflags} -fno-strict-aliasing"
export CC="%{__cc}"
export HOSTCC=gcc
# somehow uClibc prefers it's own ar.h header, so rename it # somehow uClibc prefers it's own ar.h header, so rename it
mv include/ar.h include/b_ar.h mv include/ar.h include/b_ar.h
sed -i -e 's/"ar.h"/"b_ar.h"/' archival/*.c archival/*/*.c 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 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 VERBOSE=-v
export BUILD_VERBOSE=2 export BUILD_VERBOSE=2
export CFLAGS="%{optflags} -fno-strict-aliasing" export CFLAGS="%{optflags} -fno-strict-aliasing"
export CC="%{__cc}"
export HOSTCC=gcc
make -e oldconfig make -e oldconfig
make -e %{?_smp_mflags} make -e %{?_smp_mflags}
make -e doc busybox.links %{?_smp_mflags} make -e doc busybox.links %{?_smp_mflags}