blob: f440326b90913b4b70dca729c7dc0a320062d342 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
name: stage2-zlib
kind: chunk
max-jobs: '1'
configure-commands:
- stage2-eglibc-fix-specs
# ZLib's configure is not a standard autoconf configure script
- |
export STAGE2_SYSROOT="$(dirname $(pwd))"
export CC="$TARGET_STAGE1-gcc --sysroot=$STAGE2_SYSROOT"
export CHOST=$TARGET_STAGE1
export CXX=false
export LDSHARED="$TARGET_STAGE1-gcc -shared -Wl,--sysroot=$STAGE2_SYSROOT"
./configure --prefix="$PREFIX"
build-commands:
- |
export STAGE2_SYSROOT="$(dirname $(pwd))"
make
install-commands:
- make DESTDIR="$DESTDIR" install
|