Small changes
This commit is contained in:
Executable
+20
@@ -0,0 +1,20 @@
|
||||
|
||||
if [ "$EUID" = 0 ]
|
||||
then echo "Please don't run this as root"
|
||||
exit
|
||||
fi
|
||||
|
||||
git clone https://sourceware.org/git/glibc.git src
|
||||
cd src
|
||||
git checkout release/2.34/master
|
||||
git pull
|
||||
cd -
|
||||
|
||||
mkdir src/build -p
|
||||
cd src/build
|
||||
pwd
|
||||
../configure --sysconfdir=/etc -prefix=/usr --with-headers=/usr/include --with-bugurl=https://bugs.archlinux.org/ --enable-add-ons --enable-bind-now --enable-cet --enable-kernel=4.4 --enable-lock-elision --enable-multi-arch --enable-stack-protector=strong --enable-stackguard-randomization --enable-static-pie --enable-systemtap --disable-profile --disable-werror || exit 1
|
||||
make -j$(nproc) || exit 1
|
||||
DESTDIR=$(pwd)/../../../rootfs
|
||||
sudo make install DESTDIR=$(realpath $DESTDIR)
|
||||
cd -
|
||||
Reference in New Issue
Block a user