at master 13 lines 602 B view raw
1diff --git a/build.sh b/build.sh 2index f674433..f181344 100755 3--- a/build.sh 4+++ b/build.sh 5@@ -197,7 +197,7 @@ echo -n "[*] Checking if memory alignment is required... " 6 7 rm -f "$TMP" "$TMP.c" "$TMP.log" || exit 1 8 9-echo -e "#include \"types.h\"\nvolatile u8 tmp[6]; int main() { printf(\"%d\x5cn\", *(u32*)(tmp+1)); return 0; }" >"$TMP.c" || exit 1 10+echo -e "#include \"types.h\"\n#include \"stdio.h\"\nvolatile u8 tmp[6]; int main() { printf(\"%d\x5cn\", *(u32*)(tmp+1)); return 0; }" >"$TMP.c" || exit 1 11 $CC $USE_CFLAGS $USE_LDFLAGS "$TMP.c" -o "$TMP" &>"$TMP.log" 12 13 if [ ! -x "$TMP" ]; then