[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 19/24] configure: remove compiler sanity check
|
From: |
Paolo Bonzini |
|
Subject: |
[PATCH 19/24] configure: remove compiler sanity check |
|
Date: |
Thu, 11 May 2023 11:50:16 +0200 |
The comment is not correct anymore, in that the usability test for
the compiler and linker are done after probing $cpu, and Meson will
redo them anyway.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
configure | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/configure b/configure
index 6e5e91908a4b..85f82a626964 100755
--- a/configure
+++ b/configure
@@ -1090,20 +1090,6 @@ if test -z "$ninja"; then
fi
fi
-# Check that the C compiler works. Doing this here before testing
-# the host CPU ensures that we had a valid CC to autodetect the
-# $cpu var (and we should bail right here if that's not the case).
-# It also allows the help message to be printed without a CC.
-write_c_skeleton;
-if compile_object ; then
- : C compiler works ok
-else
- error_exit "\"$cc\" either does not exist or does not work"
-fi
-if ! compile_prog ; then
- error_exit "\"$cc\" cannot build an executable (is your linker broken?)"
-fi
-
# Consult white-list to determine whether to enable werror
# by default. Only enable by default for git builds
if test -z "$werror" ; then
--
2.40.1
- [PATCH 07/24] build: move glib detection and workarounds to meson, (continued)
- [PATCH 07/24] build: move glib detection and workarounds to meson, Paolo Bonzini, 2023/05/11
- [PATCH 10/24] meson: prepare move of QEMU_CFLAGS to meson, Paolo Bonzini, 2023/05/11
- [PATCH 11/24] build: move sanitizer tests to meson, Paolo Bonzini, 2023/05/11
- [PATCH 12/24] build: move SafeStack tests to meson, Paolo Bonzini, 2023/05/11
- [PATCH 13/24] build: move coroutine backend selection to meson, Paolo Bonzini, 2023/05/11
- [PATCH 14/24] build: move stack protector flag selection to meson, Paolo Bonzini, 2023/05/11
- [PATCH 15/24] build: move warning flag selection to meson, Paolo Bonzini, 2023/05/11
- [PATCH 17/24] build: move compiler version check to meson, Paolo Bonzini, 2023/05/11
- [PATCH 02/24] meson: require 0.63.0, Paolo Bonzini, 2023/05/11
- [PATCH 16/24] build: move remaining compiler flag tests to meson, Paolo Bonzini, 2023/05/11
- [PATCH 19/24] configure: remove compiler sanity check,
Paolo Bonzini <=
- [PATCH 22/24] configure: reorder option parsing code, Paolo Bonzini, 2023/05/11
- [PATCH 18/24] build: move --disable-debug-info to meson, Paolo Bonzini, 2023/05/11
- [PATCH 20/24] configure: do not rerun the tests with -Werror, Paolo Bonzini, 2023/05/11
- [PATCH 24/24] docs/devel: update build system docs, Paolo Bonzini, 2023/05/11
- [PATCH 21/24] configure: remove unnecessary mkdir, Paolo Bonzini, 2023/05/11
- [PATCH 23/24] configure: remove unnecessary check, Paolo Bonzini, 2023/05/11