blob: b1ddb897ca03f72ede7146dc1e0d6d137e71252c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin:/tools/sbin
export LIBRARY_PATH=/lib:/usr/lib/:/tools/lib:/tools/lib64
apply_patches () {
for p in *.patch; do
echo "Applying $p"
patch -Np1 -i $p
done
}
export JOBS=$(grep "processor" /proc/cpuinfo | wc -l)
export HOME=/root
export MAKEFLAGS="-j$JOBS"
export XORG_PREFIX="/usr"
export XORG_CONFIG="--prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static"
export BUILD_ROOT="/build/source"
export RUST_TARGET="x86_64-unknown-linux-musl"
#command -v clang &&
# export CC="clang"
#command -v clang++ &&
# export CXX="clang++"
ldconfig
|