configure: Remove useless uses of ARCH_CFLAGS
Remove some useless uses of ARCH_CFLAGS -- this variable was never set so will always be empty. The uses were accidental: in commit0c439cbf8
Juan Quintela removed ARCH_CFLAGS in favour of CFLAGS (which in turn became QEMU_CFLAGS). However in commitbe17dc90
a use of it was reintroduced (apparently accidentally) by Michael S. Tsirkin, and then I subsequently cut-n-pasted that into a number of other configure feature tests. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
parent
dadc1064c3
commit
8fb0315165
|
@ -2369,7 +2369,7 @@ int main(void)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
if compile_prog "$ARCH_CFLAGS" "" ; then
|
if compile_prog "" "" ; then
|
||||||
fallocate=yes
|
fallocate=yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -2384,7 +2384,7 @@ int main(void)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
if compile_prog "$ARCH_CFLAGS" "" ; then
|
if compile_prog "" "" ; then
|
||||||
sync_file_range=yes
|
sync_file_range=yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -2401,7 +2401,7 @@ int main(void)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
if compile_prog "$ARCH_CFLAGS" "" ; then
|
if compile_prog "" "" ; then
|
||||||
fiemap=yes
|
fiemap=yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -2431,7 +2431,7 @@ int main(void)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
if compile_prog "$ARCH_CFLAGS" "" ; then
|
if compile_prog "" "" ; then
|
||||||
epoll=yes
|
epoll=yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -2454,7 +2454,7 @@ int main(void)
|
||||||
return epoll_create1 == epoll_create1;
|
return epoll_create1 == epoll_create1;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
if compile_prog "$ARCH_CFLAGS" "" ; then
|
if compile_prog "" "" ; then
|
||||||
epoll_create1=yes
|
epoll_create1=yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -2468,7 +2468,7 @@ int main(void)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
if compile_prog "$ARCH_CFLAGS" "" ; then
|
if compile_prog "" "" ; then
|
||||||
epoll_pwait=yes
|
epoll_pwait=yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue