From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by sourceware.org (Postfix) with ESMTPS id 2B8603858432 for ; Sat, 5 Nov 2022 09:21:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2B8603858432 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nefkom.net Received: from frontend03.mail.m-online.net (unknown [192.168.6.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4N4Bnv6Mwhz1qybm; Sat, 5 Nov 2022 10:21:39 +0100 (CET) Received: from localhost (dynscan3.mnet-online.de [192.168.6.84]) by mail.m-online.net (Postfix) with ESMTP id 4N4Bnv5bxpz1qqlR; Sat, 5 Nov 2022 10:21:39 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan3.mail.m-online.net [192.168.6.84]) (amavisd-new, port 10024) with ESMTP id LxzA1WDMgTH5; Sat, 5 Nov 2022 10:21:39 +0100 (CET) X-Auth-Info: 3J7WiWGNvWXQHuVj6j03q3tnXDdVeyzu7btlN1DedzWBfjvM6QVnKXwl5jHqGKc5 Received: from igel.home (aftr-82-135-86-232.dynamic.mnet-online.de [82.135.86.232]) (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 mail.mnet-online.de (Postfix) with ESMTPSA; Sat, 5 Nov 2022 10:21:38 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id B68572C33E4; Sat, 5 Nov 2022 10:21:38 +0100 (CET) From: Andreas Schwab To: Indu Bhagat Cc: binutils@sourceware.org, nick.alcock@oracle.com, vapier@gentoo.org Subject: Re: [PATCH,V3.2,11/15] libctf: add libsframe to LDFLAGS and LIBS References: <8735b18pk1.fsf@esperi.org.uk> <20221104210134.1721620-1-indu.bhagat@oracle.com> X-Yow: BRYLCREAM is CREAM O' WHEAT in another DIMENSION.. Date: Sat, 05 Nov 2022 10:21:38 +0100 In-Reply-To: <20221104210134.1721620-1-indu.bhagat@oracle.com> (Indu Bhagat's message of "Fri, 4 Nov 2022 14:01:34 -0700") Message-ID: <87r0yh3gf1.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Nov 04 2022, Indu Bhagat wrote: > @@ -83,9 +84,11 @@ AM_CONDITIONAL(ENABLE_LIBCTF_HASH_DEBUGGING, test "${enable_libctf_hash_debuggin > OLD_CFLAGS=$CFLAGS > OLD_LDFLAGS=$LDFLAGS > OLD_LIBS=$LIBS > +OLD_CC=$CC > # Put the old CFLAGS/LDFLAGS last, in case the user's (C|LD)FLAGS > # points somewhere with bfd, with -I/foo/lib and -L/foo/lib. We > # always want our bfd. > +CC=`echo ${LIBTOOL} --mode=link $OLD_CC | sed 's,\$(SHELL),,g' | sed 's,\$(top_builddir)/,./,g'` $(LIBTOOL) can only be used in a makefile, not suitable for a shell script. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."