From patchwork Fri Mar 1 14:39:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 208871 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp1125041dyb; Fri, 1 Mar 2024 06:43:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXXPVt+7F+nVmkfZ7/I2ABst2xAAj3NNECTGBU/W7EzhQfuWhIUitzAY3X4sXqPszOL5fDCJTG+fBv+xvYOETGGNW0FeQ== X-Google-Smtp-Source: AGHT+IHO4cToyteAyRTaIw4hd0R7AGnlEg0lnQLQsP1BvndBKDYUnIjwtsf4+WuSA7JWaOWL/AW1 X-Received: by 2002:a0c:ecc6:0:b0:68f:b710:511 with SMTP id o6-20020a0cecc6000000b0068fb7100511mr1865850qvq.39.1709304216165; Fri, 01 Mar 2024 06:43:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709304216; cv=pass; d=google.com; s=arc-20160816; b=Wr26wCFrMLXvVxPAyAohxKY2pyyDnKRIJVSfGxGuNolw3GQEtrLVaizwjxoZci/S1D F3MKKsRi1jgnGx66XA5AE6hHIFzXcoE6hGQMoNYWn5DGLoXonjdhQONsq3ag7wNSv6RC BnphLRxG32gSRy8himLtuPAOFwdKxwgJ0Ako+dOjlWJRMrTIUFHnekPurkXuN4gWuyIS +SIWWpxJs3RCanF0GUaV5uFYbP6XV+9k1rRYhv8GY8v4Ga7AEdEMqz7E0vIeiyuiE/P8 7zW3XRY/eKFGEgjLmjo23XZ8glCmjqOAHkzwK+JOkkJXeQoVxWQbXnjJE6XwIp7EYPaS WAyQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=QVw+9p1pDqvgr1qZrxiKrg/VKWapCqWm13TYjn1yj5A=; fh=sJ+2/4g29YdyXkoRrFZSpsL2zxijepB7X/1rB0LDDh8=; b=Sv59Uuz45Wp6mfMNU4g6LCmJoHH/+LFGYZRyDcHfC3FwQYUFryhN2MMnvOb77CmIXP D8CRhcNozDZNaa99R2f4LVy7xU87nc9Zz7j3lAc9rYVooFJQnzxqiqw18BZ7lM0zn5Pm bb2JU8x1LModEOkQ/eC/X/yCDRx82sMgsXfjzqW3oOIrCWeE1vwCa7938s55bd9I14Hc pLSadGuS8KTCXV+nhYG7opNksj8zMKLXrZLsUeQBHEte1MndopPInPvEL6P2+D90q17t XTA4Dcj0OHiCtCQRxxpPC+GcMG0iHi6t8BTJ2r/mMzkc22s2vQOIIOx6Xr4+5U0EKc7u Yp5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gAGAZXMY; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id r3-20020a0562140c8300b006903099b236si3632678qvr.504.2024.03.01.06.43.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 06:43:36 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gAGAZXMY; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D93BF3858415 for ; Fri, 1 Mar 2024 14:43:35 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 0DE373858D39 for ; Fri, 1 Mar 2024 14:42:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0DE373858D39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0DE373858D39 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709304166; cv=none; b=eOnl07x5jaSrSCn438M8RJ2qjd0Hc0qp+DajmUzHYc3kUblprIN5OskGNukL3UlssWMEPzHmVCSkly+g1P2RYGRQN3TvER6Lpw43ECw72iLeXvJap4xYGRqhr5yKECFLCkICXK5pCccvAOoCTA8ZxBPb8GqE9DX6+s7gQI6MlmY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709304166; c=relaxed/simple; bh=SwcNqhMuug5bIrB6CfH7/qMAJUx7WlyXloUBQvnH0XY=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=XgywQMINpIe47d6E1b8ZQ95NiYoqtAOtEBiKSRZ4QtptPmP1CXHQ0o5htE6BnGZCFFxnA5L3z4e2ugfvCcRCgaWWbO6aKjT7mXueBuQZrAg4XOouzy0CDTmwj2dOxaE7YDjVxF7+eR5NffmLeBMl+CU8QsGHKrrXyjOsABEQbKQ= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709304163; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QVw+9p1pDqvgr1qZrxiKrg/VKWapCqWm13TYjn1yj5A=; b=gAGAZXMY/g/hjpCq3U6F8EwT7md6wxDZQWpEZ4C8qTR0r5gGyNRQmby753sl8KJa6U3OLz DYkIRcleLlSULTlQKNB12Akor0LHYlqT1nfOsdX7lfcKwtanTjLRPoBwye0LTT6DtkhL08 qgKfKruHWMwNAVUeIj/e9aQdtJxdmtM= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-571-yt9MfFR2PW6SCfER8flvKw-1; Fri, 01 Mar 2024 09:42:42 -0500 X-MC-Unique: yt9MfFR2PW6SCfER8flvKw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A1D5F85A58F; Fri, 1 Mar 2024 14:42:39 +0000 (UTC) Received: from localhost (unknown [10.42.28.150]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6D86CAC11; Fri, 1 Mar 2024 14:42:39 +0000 (UTC) From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [PATCH] libstdc++: Use [] for empty argument to automake macro Date: Fri, 1 Mar 2024 14:39:21 +0000 Message-ID: <20240301144238.94065-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792335377903774798 X-GMAIL-MSGID: 1792335377903774798 Does this look reasonable to push? There are lots of other uses of AM_ENABLE_MULTILIB(, ..) in the tree, but I'll leave others to "fix" those if needed. -- >8 -- This seems to be needed to build with --enable-maintainer-mode but I don't understand why it doesn't fail in the normal build. libstdc++-v3/ChangeLog: * configure.ac: Use [] for empty argument to AM_ENABLE_MULTILIB macro. --- libstdc++-v3/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac index 37396bd6ebb..1d6a94a16f2 100644 --- a/libstdc++-v3/configure.ac +++ b/libstdc++-v3/configure.ac @@ -11,7 +11,7 @@ AC_CONFIG_HEADER(config.h) ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD # Find the rest of the source tree framework. -AM_ENABLE_MULTILIB(, ..) +AM_ENABLE_MULTILIB([], ..) # Gets build, host, target, *_vendor, *_cpu, *_os, etc. #