21 lines
498 B
Bash
Executable file
21 lines
498 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
cd build
|
|
|
|
echo "Installing glibc into install dir..."
|
|
make -j$(nproc) install DESTDIR=$YAPM_INSTALL_DIR
|
|
|
|
# strip recursivly
|
|
strip -g $YAPM_INSTALL_DIR/bin/* \
|
|
$YAPM_INSTALL_DIR/sbin/* \
|
|
$YAPM_INSTALL_DIR/lib/* \
|
|
$YAPM_INSTALL_DIR/lib64/* \
|
|
$YAPM_INSTALL_DIR/usr/bin/* \
|
|
$YAPM_INSTALL_DIR/usr/sbin/* \
|
|
$YAPM_INSTALL_DIR/usr/lib/* \
|
|
$YAPM_INSTALL_DIR/usr/lib64/* \
|
|
$YAPM_INSTALL_DIR/usr/lib64/*/* \
|
|
$YAPM_INSTALL_DIR/usr/libexec/* ||
|
|
true
|