From patchwork Tue Aug 20 11:11:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuriy Kolerov X-Patchwork-Id: 96141 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D2D02384770C for ; Tue, 20 Aug 2024 11:12:00 +0000 (GMT) X-Original-To: newlib@sourceware.org Delivered-To: newlib@sourceware.org Received: from mx0a-00230701.pphosted.com (mx0a-00230701.pphosted.com [148.163.156.19]) by sourceware.org (Postfix) with ESMTPS id 4037C3846082 for ; Tue, 20 Aug 2024 11:11:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4037C3846082 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=synopsys.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=synopsys.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4037C3846082 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=148.163.156.19 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724152292; cv=none; b=Q2SFc8dBhVkSFl6eP5YQAi4bmSllKkk72lKjBGkFFBHdGcB2idDIwbc8Bl7Y1v/cKEqq3D8/QV5jOux9mfFct+hjWp2SYboOy68GbeiGRVin4ZsaoDvMm2CjKsTfG+n9xSbCU55uKy2hIHGQjHLRGrvdrIbsWSqgI+SrLqwd0Zw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724152292; c=relaxed/simple; bh=HYSQ5MMwN1ROqwfDiHSievxLrxrfSyVPtuKdB9JQdAk=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-Id: MIME-Version; b=T3dfOAhdgkeRxqgOTfvNGSdb8REcv+RFnuqn8F2w/7IxsOdcXbQgpQ2QY0VJSLakd3bSshxDPxNWGMttG1MaBkGL5nqdiGc01wUFF5I8banvYbAN8XI8pdj4sB0L+AbgMo3CHpJRCFoKwkz5Ly37RCX7lppLEcGf71RPLflF7Ww= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0297266.ppops.net [127.0.0.1]) by mx0a-00230701.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 47K67hPB019773; Tue, 20 Aug 2024 04:11:28 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=synopsys.com; h= cc:content-transfer-encoding:date:from:message-id:mime-version :subject:to; s=pfptdkimsnps; bh=VnQwM2f+qKviEGD31E73hG85PuJ6/Ovf 2nrG2N/E3R8=; b=gf6rPXtz3RdhuxXOXhrqEo5GrpeqYAfqp2gcAmK3SJK8S9Al LcEjB3SCTqnxLabOfOAgK3XgJS816jURyhvHkn4QaqQTYz3IBFk+9bg4sMmsh21C IQyqkc1osiN5RuXZI9rM4o4nRXrDNUWhjptEso8ZtdwwPh3B0kZbh9YF3qSUNaA8 awi12bFclvgZyktaEbDPwXkJ2RJqfbGUIAHKd3TXh62fTkcE5JlRr+QbiIlwHNR6 e8j0DAvaSS+6TRzKMl5tE7+V7F3DQpAJFGQpye/vPHY1okeU9iQTtfyHiEpCzdDX a7vV7d7fWpnLyJb2pm8VBeJgxQF26h3o05xv+Q== Received: from smtprelay-out1.synopsys.com (smtprelay-out1.synopsys.com [149.117.73.133]) by mx0a-00230701.pphosted.com (PPS) with ESMTPS id 414g8ktfh1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 Aug 2024 04:11:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1724152288; bh=HYSQ5MMwN1ROqwfDiHSievxLrxrfSyVPtuKdB9JQdAk=; h=From:To:Cc:Subject:Date:From; b=elerb4/9z/PN5HazNugC9rLdAeeC2q235aPvQRg2TtWfcoPfuX7rt8MJhZtgovi2t U9qojdyNW5NjPX4+1vBWhjHmeP0IzMx7msXUl9Jso3lPjILRHE3aq+2bAJB0sGqqRR 4DBA0e6oQR/ULtjGXPfTu5nvofceI54B/35RrztLqu24Jw9xhq4gFcUmXMHqk0W0Xi lcF+TkpC37+3OwqFizckI593G4arhwuYE3ND50V699IJ56m3S9vbjc4zIwtb8YoC+N /HHZ0fYEAr9pF0OgDobLH2pL9mxvv06nEuTfuhgvBERskk2XRy66EX+Zhp9Kzf6J0j RXBxgjPDinviw== Received: from mailhost.synopsys.com (eudc-mailhost2.synopsys.com [10.213.161.17]) (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 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailhost.synopsys.com", Issuer "SNPSica2" (verified OK)) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 90D3340407; Tue, 20 Aug 2024 11:11:27 +0000 (UTC) Received: from SNPS-HRlPxd6IgG.internal.synopsys.com (snps-hrlpxd6igg.internal.synopsys.com [10.120.15.83]) (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) (Client did not present a certificate) by mailhost.synopsys.com (Postfix) with ESMTPSA id 8BA5BC078F; Tue, 20 Aug 2024 11:11:25 +0000 (UTC) X-SNPS-Relay: synopsys.com From: Yuriy.Kolerov@synopsys.com To: newlib@sourceware.org Cc: Claudiu Zissulescu Subject: [PATCH] Use ldflags instead of LDFLAGS in newlib.exp Date: Tue, 20 Aug 2024 14:11:28 +0300 Message-Id: <20240820111128.1594372-1-ykolerov@synopsys.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Proofpoint-GUID: LH3T5GGYOclOzncPpyXJe1AZMIMWVvJX X-Authority-Analysis: v=2.4 cv=T4TeTOKQ c=1 sm=1 tr=0 ts=66c479e0 cx=c_pps a=8EbXvwLXkpGsT4ql/pYRAw==:117 a=8EbXvwLXkpGsT4ql/pYRAw==:17 a=yoJbH4e0A30A:10 a=pGLkceISAAAA:8 a=rpqORNxFniaZPrB4MrQA:9 X-Proofpoint-ORIG-GUID: LH3T5GGYOclOzncPpyXJe1AZMIMWVvJX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-20_09,2024-08-19_03,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_active_cloned_notspam policy=outbound_active_cloned score=0 malwarescore=0 bulkscore=0 clxscore=1011 spamscore=0 lowpriorityscore=0 suspectscore=0 phishscore=0 mlxlogscore=849 impostorscore=0 mlxscore=0 priorityscore=1501 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2407110000 definitions=main-2408200082 X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, 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: newlib@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: newlib-bounces~patchwork=sourceware.org@sourceware.org From: Claudiu Zissulescu This variable was accidentally renamed earlier. It must be ldflags according to DejaGNU documentation. Signed-off-by: Claudiu Zissulescu --- newlib/testsuite/lib/newlib.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/newlib/testsuite/lib/newlib.exp b/newlib/testsuite/lib/newlib.exp index 8b43d2e5d..f1df40e52 100644 --- a/newlib/testsuite/lib/newlib.exp +++ b/newlib/testsuite/lib/newlib.exp @@ -66,13 +66,13 @@ proc newlib_target_compile { source dest type options } { [target_info needs_status_wrapper] != "0" && \ [info exists gluefile] } { lappend options "libs=$gluefile" - lappend options "LDFLAGS=$wrap_flags" + lappend options "ldflags=$wrap_flags" } if [string match $host_triplet $target_triplet] then { if [string match "i686-pc-linux-gnu" $host_triplet] then { lappend options "libs=$objdir/crt0.o -lc -lgcc" - lappend options "LDFLAGS=-nostdlib -L$objdir/.libs [newlib_include_flags]" + lappend options "ldflags=-nostdlib -L$objdir/.libs [newlib_include_flags]" } }