ctf-tools/preeny/install

14 lines
279 B
Bash
Executable file

#!/bin/bash -e
git clone --depth 1 https://github.com/zardus/preeny
PATH=$PWD/../crosstool/bin:$PATH
cd preeny
for i in ../../crosstool/bin/*-gcc
do
t=$(basename $i)
CC=$t make -j $(nproc) -i
done
PLATFORM=-m32 setarch i686 make -i
mv x86_64-linux-gnu i686-linux-gnu
make -i