From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EF9F9385781D; Mon, 5 Jul 2021 15:11:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EF9F9385781D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1625497894; bh=zbHbck1s7M+c8OmWOw3BfafKmp6hXCBrhroM2KMa5wY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=uaKkgTwV6CP2HHWrcSFfnGfFKmDhd1EEITlY9joEe/mi4nzOWt5VU0Zim08i4nCpk 84SOAx8ahyebQdQkzncpLcItSu3ddUrHv/iFpAzaBi+eG1kAHTWAqlJCB6eLk1Zgwm asxj7mix3QzUyn7V6ilJut6VBtmY3qCfM/716LEk= From: "mark at klomp dot org" To: debugedit@sourceware.org Subject: [Bug debugedit/27890] tests using CFLAGS/LDFLAGS causes testsuite failures Date: Mon, 05 Jul 2021 15:11:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: debugedit X-Bugzilla-Component: debugedit X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mark at klomp dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: debugedit@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: debugedit development mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2021 15:11:35 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27890 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at sourceware dot org |mark at klomp dot o= rg Status|NEW |ASSIGNED --- Comment #3 from Mark Wielaard --- To fix this I intend to push something like the following: diff --git a/tests/atlocal.in b/tests/atlocal.in index a45edac..0eec351 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -3,10 +3,12 @@ PATH=3D@abs_builddir@:@abs_top_builddir@:$top_srcdir:$srcdir:$PATH +# We do use the CC and LD found by configure, but explicitly keep +# CFLAGS and LDFLAGS empty because the tests use specific flags. CC=3D"@CC@" -CFLAGS=3D"@CFLAGS@" +CFLAGS=3D"" LD=3D"@LD@" -LDFLAGS=3D"@LDFLAGS@" +LDFLAGS=3D"" GDWARF_5_FLAG=3D@GDWARF_5_FLAG@ GZ_NONE_FLAG=3D@GZ_NONE_FLAG@ It would still allow using different compilers/linkers, but not to override= the CFLAGS/LDFLAGS for the tests themselves (unless you edit atlocal by hand. Does the above seem reasonable? --=20 You are receiving this mail because: You are on the CC list for the bug.=