From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23354 invoked by alias); 1 Nov 2011 23:43:15 -0000 Received: (qmail 23330 invoked by uid 22791); 1 Nov 2011 23:43:12 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from smtp09.smtpout.orange.fr (HELO smtp.smtpout.orange.fr) (80.12.242.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Nov 2011 23:42:44 +0000 Received: from treguer.bzh.lan ([90.32.130.159]) by mwinf5d18 with ME id rzih1h0053SVNb603ziijx; Wed, 02 Nov 2011 00:42:43 +0100 X-ME-engine: default Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [PATCH 2 of 4] scripts: use the hardfloat option to set configure and CFLAGS X-Mercurial-Node: a58704d1826c77882e5723f1ae61d44c12e9ba36 Message-Id: In-Reply-To: References: User-Agent: Mercurial-patchbomb/1.9.3 Date: Tue, 01 Nov 2011 23:43:00 -0000 From: "Yann E. MORIN" To: crossgcc@sourceware.org Cc: Michael Hope Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2011-11/txt/msg00004.txt.bz2 # HG changeset patch # User Michael Hope # Date 1320190569 -3600 # Node ID a58704d1826c77882e5723f1ae61d44c12e9ba36 # Parent 10f8a6c3847a22617bf36190e477d67aacf6a59b scripts: use the hardfloat option to set configure and CFLAGS When hardfloat is selected, we need to pass that selection down to ./configure and in the CFLAGS. Signed-off-by: Michael Hope [yann.morin.1998@anciens.enib.fr: split the original patch] Signed-off-by: "Yann E. MORIN" diff --git a/scripts/functions b/scripts/functions --- a/scripts/functions +++ b/scripts/functions @@ -985,6 +985,10 @@ [ "${CT_ARCH_FPU}" ] && { CT_ARCH_FPU_CFLAG="-mfpu=${CT_ARCH_FPU}"; CT_ARCH_WITH_FPU="--with-fpu=${CT_ARCH_FPU}"; } case "${CT_ARCH_FLOAT}" in + hard) + CT_ARCH_FLOAT_CFLAG="-mhard-float" + CT_ARCH_WITH_FLOAT="--with-float=hard" + ;; soft) CT_ARCH_FLOAT_CFLAG="-msoft-float" CT_ARCH_WITH_FLOAT="--with-float=soft" -- For unsubscribe information see http://sourceware.org/lists.html#faq