configure: Remove useless uses of ARCH_CFLAGS
PATCH 1/1 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 commit 0c439cbf8 Juan Quintela removed ARCH_CFLAGS in favour of CFLAGS (which in turn became QEMU_CFLAGS). However in commit be17dc90 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.
--- configure | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-)
configure +6 -6
@@ -2361,7 +2361,7 @@ int main(void) return 0; } EOF -if compile_prog "$ARCH_CFLAGS" "" ; then +if compile_prog "" "" ; then fallocate=yes fi
@@ -2376,7 +2376,7 @@ int main(void) return 0; } EOF -if compile_prog "$ARCH_CFLAGS" "" ; then +if compile_prog "" "" ; then sync_file_range=yes fi
@@ -2393,7 +2393,7 @@ int main(void) return 0; } EOF -if compile_prog "$ARCH_CFLAGS" "" ; then +if compile_prog "" "" ; then fiemap=yes fi
@@ -2423,7 +2423,7 @@ int main(void) return 0; } EOF -if compile_prog "$ARCH_CFLAGS" "" ; then +if compile_prog "" "" ; then epoll=yes fi
@@ -2446,7 +2446,7 @@ int main(void) return epoll_create1 == epoll_create1; } EOF -if compile_prog "$ARCH_CFLAGS" "" ; then +if compile_prog "" "" ; then epoll_create1=yes fi
@@ -2460,7 +2460,7 @@ int main(void) return 0; } EOF -if compile_prog "$ARCH_CFLAGS" "" ; then +if compile_prog "" "" ; then epoll_pwait=yes fi
Signature · 1 line
1.7.1
Am 04.04.2012 18:03, schrieb Peter Maydell:
Quoted 9 lines
Remove some useless uses of
ARCH_CFLAGS-- this variable was never set so will always be empty. The uses were accidental: in commit0c439cbf8Juan Quintela removedARCH_CFLAGSin favour of CFLAGS (which in turn becameQEMU_CFLAGS). However in commitbe17dc90a 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 <[email protected]>
Thanks,
/-F
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Stefan Hajnoczi
AppliedQuoted 8 lines · Peter Maydell
Remove some useless uses of
ARCH_CFLAGS-- this variable was never set so will always be empty. The uses were accidental: in commit0c439cbf8Juan Quintela removedARCH_CFLAGSin favour of CFLAGS (which in turn becameQEMU_CFLAGS). However in commitbe17dc90a 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.
Quoted 4 lines
Signed-off-by Peter Maydell <[email protected]>--- configure | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan
Quoted 7 lines · Peter Maydell
Remove some useless uses of
ARCH_CFLAGS-- this variable was never set so will always be empty. The uses were accidental: in commit0c439cbf8Juan Quintela removedARCH_CFLAGSin favour of CFLAGS (which in turn becameQEMU_CFLAGS). However in commitbe17dc90a 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.