[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 63/68] configure: remove compiler sanity check
|
From: |
Paolo Bonzini |
|
Subject: |
[PULL 63/68] configure: remove compiler sanity check |
|
Date: |
Wed, 17 May 2023 19:45:15 +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 b2172b7b938e..4a986e6fa89c 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
- [PULL 39/68] configure: bootstrap sphinx with mkvenv, (continued)
- [PULL 39/68] configure: bootstrap sphinx with mkvenv, Paolo Bonzini, 2023/05/17
- [PULL 44/68] python: bump some of the dependencies, Paolo Bonzini, 2023/05/17
- [PULL 49/68] meson: add more version numbers to the summary, Paolo Bonzini, 2023/05/17
- [PULL 53/68] configure, meson: move --enable-modules to Meson, Paolo Bonzini, 2023/05/17
- [PULL 59/68] build: move warning flag selection to meson, Paolo Bonzini, 2023/05/17
- [PULL 60/68] build: move remaining compiler flag tests to meson, Paolo Bonzini, 2023/05/17
- [PULL 67/68] configure: remove unnecessary check, Paolo Bonzini, 2023/05/17
- [PULL 52/68] configure: remove pkg-config functions, Paolo Bonzini, 2023/05/17
- [PULL 58/68] build: move stack protector flag selection to meson, Paolo Bonzini, 2023/05/17
- [PULL 66/68] configure: reorder option parsing code, Paolo Bonzini, 2023/05/17
- [PULL 63/68] configure: remove compiler sanity check,
Paolo Bonzini <=
- [PULL 25/68] mkvenv: add console script entry point generation, Paolo Bonzini, 2023/05/17
- [PULL 31/68] tests/vm: add py310-expat to NetBSD, Paolo Bonzini, 2023/05/17
- [PULL 46/68] meson: require 0.63.0, Paolo Bonzini, 2023/05/17
- [PULL 47/68] meson: use prefer_static option, Paolo Bonzini, 2023/05/17
- [PULL 48/68] meson: remove static_kwargs, Paolo Bonzini, 2023/05/17
- [PULL 50/68] meson: drop unnecessary declare_dependency(), Paolo Bonzini, 2023/05/17
- [PULL 54/68] meson: prepare move of QEMU_CFLAGS to meson, Paolo Bonzini, 2023/05/17
- [PULL 64/68] configure: do not rerun the tests with -Werror, Paolo Bonzini, 2023/05/17