Skip to content
Snippets Groups Projects
Commit 07884e00 authored by vanhauser-thc's avatar vanhauser-thc
Browse files

feodora qemu lib fix

parent bdadbb72
No related branches found
No related tags found
No related merge requests found
...@@ -374,10 +374,20 @@ if [ "$ORIG_CROSS" = "" ]; then ...@@ -374,10 +374,20 @@ if [ "$ORIG_CROSS" = "" ]; then
fi fi
fi fi
if ! command -v "$CROSS" > /dev/null if ! command -v "$CROSS" > /dev/null ; then
then if [ "$CPU_TARGET" = "$(uname -m)" ] ; then
echo "[+] Building afl++ qemu support libraries with CC=$CC"
echo "[+] Building libcompcov ..."
make -C libcompcov && echo "[+] libcompcov ready"
echo "[+] Building unsigaction ..."
make -C unsigaction && echo "[+] unsigaction ready"
echo "[+] Building libqasan ..."
make -C libqasan && echo "[+] unsigaction ready"
else
echo "[!] Cross compiler $CROSS could not be found, cannot compile libcompcov libqasan and unsigaction" echo "[!] Cross compiler $CROSS could not be found, cannot compile libcompcov libqasan and unsigaction"
fi
else else
echo "[+] Building afl++ qemu support libraries with CC=$CROSS"
echo "[+] Building libcompcov ..." echo "[+] Building libcompcov ..."
make -C libcompcov CC=$CROSS && echo "[+] libcompcov ready" make -C libcompcov CC=$CROSS && echo "[+] libcompcov ready"
echo "[+] Building unsigaction ..." echo "[+] Building unsigaction ..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment