From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23690 invoked by alias); 30 May 2012 19:27:52 -0000 Received: (qmail 23682 invoked by uid 22791); 30 May 2012 19:27:51 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from toast.topped-with-meat.com (HELO topped-with-meat.com) (204.197.218.159) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 30 May 2012 19:27:39 +0000 Received: by topped-with-meat.com (Postfix, from userid 5281) id CDFE32C0A2; Wed, 30 May 2012 12:27:38 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: "Joseph S. Myers" Cc: libc-ports@sourceware.org Subject: Re: Support sharing ARM headers for hard and soft float In-Reply-To: Joseph S. Myers's message of Wednesday, 30 May 2012 18:58:22 +0000 References: Message-Id: <20120530192738.CDFE32C0A2@topped-with-meat.com> Date: Wed, 30 May 2012 19:27:00 -0000 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.0 cv=e8d9udV/ c=1 sm=1 a=W6v1wc1YxnIA:10 a=Z6MIti7PxpgA:10 a=kj9zAlcOel0A:10 a=hOe2yjtxAAAA:8 a=14OXPxybAAAA:8 a=_xOrS9iMCZPZhJ0d4PUA:9 a=CjuIK1q_8ugA:10 a=WkljmVdYkabdwxfqvArNOQ==:117 X-IsSubscribed: yes Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00192.txt.bz2 > +default-abi := $(strip $(shell \ > + ($(default-abi-prog)) | $(CC) $(CFLAGS) $(CPPFLAGS) -E -P -)) Using $(shell ...) in makefiles is pretty disgusting. The compiler will run every time you run make. What I'd recommend instead is generating a makefile and including it. The generated file can depend on config.make or something like that to be sure it gets re-run when $(CC) et al might reasonably be expected to have changed.