forked from kiss-community/repo
busybox: Compile with crc32 for kernel. GCC: Use right arguments based on host.
This commit is contained in:
parent
a5b55e1474
commit
213f93bfc6
@ -1,2 +1,2 @@
|
||||
3d1d04a4dbd34048f4794815a5c48ebb9eb53c5277e09ffffc060323b95dfbdc busybox-1.30.1.tar.bz2
|
||||
32b5172f1bc896e9934d15936fc013892ec0260349380b4325077d0351509330 .config
|
||||
df3b3f0319daee88fc0dabff32ae57b0b62184ac67b2845adb64505bb9eafd0d .config
|
||||
|
@ -154,6 +154,7 @@ CONFIG_LZMA=y
|
||||
CONFIG_UNXZ=y
|
||||
CONFIG_XZCAT=y
|
||||
CONFIG_XZ=y
|
||||
CONFIG_CRC32=y
|
||||
CONFIG_BZIP2=y
|
||||
CONFIG_BZIP2_SMALL=8
|
||||
CONFIG_FEATURE_BZIP2_DECOMPRESS=y
|
||||
|
@ -5,6 +5,7 @@ mkdir -p gcc-build
|
||||
cd gcc-build
|
||||
|
||||
export libat_cv_have_ifunc=no
|
||||
machine=$(gcc -dumpmachine)
|
||||
|
||||
../gcc/configure \
|
||||
--prefix=/usr \
|
||||
@ -27,7 +28,10 @@ export libat_cv_have_ifunc=no
|
||||
--enable-shared \
|
||||
--enable-threads \
|
||||
--enable-tls \
|
||||
--enable-languages=c,c++
|
||||
--enable-languages=c,c++ \
|
||||
--build="$machine" \
|
||||
--target="$machine" \
|
||||
--host="$machine"
|
||||
|
||||
make BOOT_CFLAGS='-O'
|
||||
make DESTDIR="$1" install
|
||||
|
Loading…
Reference in New Issue
Block a user