From nobody Tue Nov 18 14:13:42 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1610629050; cv=none; d=zohomail.com; s=zohoarc; b=gQvRHlA/p6JsKOC6ZoRSKIPRcdQ8eTOtg74zJVmxnF+zpkUBhwU1QzfKL7zf1b2CksEmJsZVhsBsbFK+42CLM2g56SpFkYgVmPPWcvaqifizVz8ZMz7mW+7IiDKv30d/K693jYUSEm0mWQg0kVKBX81caVGdNa0luegU8SGNw8U= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610629050; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=sD3K+rEI/dUxrODLlT/aKP7XaVY/poit2e3hAIqO+vI=; b=dhFHx6n2i1gADtZfxsriGY98SMdZus0xqDBswMYNI95n01bQA7jzVsyitlg4srfh5OyOihOq10rpdbYZmjGxeE4BHZoidY0u+eIyTHrgO2ZHvR3nBYMw7v8+i/iDkEaKpTbkFo2AWPpCy3ofRoGwW8CvsXmbcFvi6s+fcXvk6+g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1610629050564452.4085118078191; Thu, 14 Jan 2021 04:57:30 -0800 (PST) Received: from localhost ([::1]:56682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l02Bs-0003hy-55 for importer@patchew.org; Thu, 14 Jan 2021 07:57:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l02Ay-0002Uo-Ro for qemu-devel@nongnu.org; Thu, 14 Jan 2021 07:56:32 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:30049) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1l02Ax-0004ia-8X for qemu-devel@nongnu.org; Thu, 14 Jan 2021 07:56:32 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-588-Dq-12gXvOvKQ1FiaR5FYCA-1; Thu, 14 Jan 2021 07:56:26 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BBA23873088; Thu, 14 Jan 2021 12:56:25 +0000 (UTC) Received: from localhost (unknown [10.36.110.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6F6F727C50; Thu, 14 Jan 2021 12:56:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610628990; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sD3K+rEI/dUxrODLlT/aKP7XaVY/poit2e3hAIqO+vI=; b=D8lrbh+xPabJfHuNrEdUEX+iGzRyz8c+7byUzNxyTweR6+e7lRCC2uWqfJyXnw7Qrbl0kf 9+54qmY5i7vMIbB+6d6UTjeNNyboXOxBTp2IpdYrYy54YtXvuR/OINb1xGmtQnJBV2/fgS mMTzo6NXep2utWdCiK9af1GGaQF9RD8= X-MC-Unique: Dq-12gXvOvKQ1FiaR5FYCA-1 From: marcandre.lureau@redhat.com To: qemu-devel@nongnu.org Subject: [PATCH 1/5] build-sys: remove unused LIBS Date: Thu, 14 Jan 2021 16:56:01 +0400 Message-Id: <20210114125605.1227742-2-marcandre.lureau@redhat.com> In-Reply-To: <20210114125605.1227742-1-marcandre.lureau@redhat.com> References: <20210114125605.1227742-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=marcandre.lureau@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=63.128.21.124; envelope-from=marcandre.lureau@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -29 X-Spam_score: -3.0 X-Spam_bar: --- X-Spam_report: (-3.0 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.248, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pbonzini@redhat.com, j@getutm.app, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , samuel.thibault@ens-lyon.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Marc-Andr=C3=A9 Lureau Since meson switch and commit feabc71dfa58 ("configure: do not include dependency flags in QEMU_CFLAGS and LIBS"), LIBS is unused. Signed-off-by: Marc-Andr=C3=A9 Lureau --- configure | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/configure b/configure index 155dda124c..64c09f7d58 100755 --- a/configure +++ b/configure @@ -3390,16 +3390,6 @@ else for pthread_lib in $PTHREADLIBS_LIST; do if compile_prog "" "$pthread_lib" ; then pthread=3Dyes - found=3Dno - for lib_entry in $LIBS; do - if test "$lib_entry" =3D "$pthread_lib"; then - found=3Dyes - break - fi - done - if test "$found" =3D "no"; then - LIBS=3D"$pthread_lib $LIBS" - fi break fi done @@ -4087,28 +4077,6 @@ if compile_prog "" "" ; then bswap_h=3Dyes fi =20 -########################################## -# Do we need librt -# uClibc provides 2 versions of clock_gettime(), one with realtime -# support and one without. This means that the clock_gettime() don't -# need -lrt. We still need it for timer_create() so we check for this -# function in addition. -cat > $TMPC < -#include -int main(void) { - timer_create(CLOCK_REALTIME, NULL, NULL); - return clock_gettime(CLOCK_REALTIME, NULL); -} -EOF - -if compile_prog "" "" ; then - : -# we need pthread for static linking. use previous pthread test result -elif compile_prog "" "$pthread_lib -lrt" ; then - LIBS=3D"$LIBS -lrt" -fi - # Check whether we have openpty() in either libc or libutil cat > $TMPC << EOF extern int openpty(int *am, int *as, char *name, void *termp, void *winp); --=20 2.29.0