From 06fda18621192464f6f849fede1825aec921ae65 Mon Sep 17 00:00:00 2001 From: Sergej Schumilo Date: Fri, 2 Feb 2024 10:50:32 +0100 Subject: [PATCH] fix compile script (add missing "make clean") --- compile_qemu_nyx.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/compile_qemu_nyx.sh b/compile_qemu_nyx.sh index d7e2297f26..892f587b8b 100755 --- a/compile_qemu_nyx.sh +++ b/compile_qemu_nyx.sh @@ -51,6 +51,7 @@ compile_libraries() LDFLAGS="-L$CAPSTONE_ROOT -L$LIBXDC_ROOT" CFLAGS="-I$CAPSTONE_ROOT/include/" make -C $LIBXDC_ROOT -j $(nproc) if [ $? -ne 0 ]; then echo "[!] libxdc LTO build failed! Trying to compile in non-LTO mode..." + make -C $LIBXDC_ROOT clean NO_LTO=1 LDFLAGS="-L$CAPSTONE_ROOT -L$LIBXDC_ROOT" CFLAGS="-I$CAPSTONE_ROOT/include/" make -C $LIBXDC_ROOT -j $(nproc) if [ $? -ne 0 ]; then echo "[ ] libxdc non-LTO build failed again ..."