[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/6] configure: Remove useless uses of ARCH_CFLAGS
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 1/6] configure: Remove useless uses of ARCH_CFLAGS |
Date: |
Fri, 13 Apr 2012 10:39:11 +0100 |
From: Peter Maydell <address@hidden>
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.
Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
configure | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/configure b/configure
index e05f34b..5aaafa1 100755
--- a/configure
+++ b/configure
@@ -2369,7 +2369,7 @@ int main(void)
return 0;
}
EOF
-if compile_prog "$ARCH_CFLAGS" "" ; then
+if compile_prog "" "" ; then
fallocate=yes
fi
@@ -2384,7 +2384,7 @@ int main(void)
return 0;
}
EOF
-if compile_prog "$ARCH_CFLAGS" "" ; then
+if compile_prog "" "" ; then
sync_file_range=yes
fi
@@ -2401,7 +2401,7 @@ int main(void)
return 0;
}
EOF
-if compile_prog "$ARCH_CFLAGS" "" ; then
+if compile_prog "" "" ; then
fiemap=yes
fi
@@ -2431,7 +2431,7 @@ int main(void)
return 0;
}
EOF
-if compile_prog "$ARCH_CFLAGS" "" ; then
+if compile_prog "" "" ; then
epoll=yes
fi
@@ -2454,7 +2454,7 @@ int main(void)
return epoll_create1 == epoll_create1;
}
EOF
-if compile_prog "$ARCH_CFLAGS" "" ; then
+if compile_prog "" "" ; then
epoll_create1=yes
fi
@@ -2468,7 +2468,7 @@ int main(void)
return 0;
}
EOF
-if compile_prog "$ARCH_CFLAGS" "" ; then
+if compile_prog "" "" ; then
epoll_pwait=yes
fi
--
1.7.9.5
- [Qemu-devel] [PULL 0/6] Trivial patches for 4 to 13 April 2012, Stefan Hajnoczi, 2012/04/13
- [Qemu-devel] [PATCH 5/6] bsd-user: fix compile failure, Stefan Hajnoczi, 2012/04/13
- [Qemu-devel] [PATCH 1/6] configure: Remove useless uses of ARCH_CFLAGS,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 6/6] configure: Insist on a Python 2, not Python 3, Stefan Hajnoczi, 2012/04/13
- [Qemu-devel] [PATCH 3/6] make: Always set LC_ALL=C for makeinfo, Stefan Hajnoczi, 2012/04/13
- [Qemu-devel] [PATCH 2/6] configure: Fix wrong preprocessor statement, Stefan Hajnoczi, 2012/04/13
- [Qemu-devel] [PATCH 4/6] ps2: avoid repeated header file includes, Stefan Hajnoczi, 2012/04/13
- Re: [Qemu-devel] [PULL 0/6] Trivial patches for 4 to 13 April 2012, Anthony Liguori, 2012/04/13