configure: fix malloc check
PATCH 1/1 configure: fix malloc check
Avoid random return value.
Fixes commit f2dfe54c74f768a5bf78c9e5918918727f9d9459
Signed-off-by Olaf Hering <[email protected]>
--- configure | 1 + 1 file changed, 1 insertion(+)
configure +1 -0
@@ -6305,6 +6305,7 @@ int main(void) { if (tmp != NULL) { return *(int *)(tmp + 2); } + return 1; } EOF if compile_prog "$CPU_CFLAGS -Werror -fsanitize=undefined" ""; then
Quoted 8 lines · Olaf Hering
Avoid random return value.
Fixes commit
f2dfe54c74f768a5bf78c9e5918918727f9d9459Signed-off-by Olaf Hering <[email protected]>--- configure | 1 + 1 file changed, 1 insertion(+)
Reviewed-by Richard Henderson <[email protected]>
r~