From patchwork Fri Oct 26 23:25:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 10657985 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 358C914E2 for ; Fri, 26 Oct 2018 23:26:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 281202CC4A for ; Fri, 26 Oct 2018 23:26:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C3D32CC7B; Fri, 26 Oct 2018 23:26:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 055652CC4A for ; Fri, 26 Oct 2018 23:25:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728873AbeJ0IEz (ORCPT ); Sat, 27 Oct 2018 04:04:55 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:40524 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728869AbeJ0IEz (ORCPT ); Sat, 27 Oct 2018 04:04:55 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w9QNO5MG133179; Fri, 26 Oct 2018 23:25:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : mime-version : content-type; s=corp-2018-07-02; bh=18LOu6yIvntQn/JE2MLrzyOZMrs6XIVXOs1AvXBXwsw=; b=sgG5N/eg0blpA3wXJRD7/7cS0U0PCZq88EI9rhp4vSMlGhw1voVk+GFXIqY0Do/v7ztY DVOekpttlRHnqOvi0X5/fOtQmsiwVVGOsw0rnSJYa3aiKUDa8lGSmb0F73qVqy1d2eXC f7y/6qUsa6Zm5BKoQfl+u5nktFmR/3lYB9/qcUoVZLQrd/CMc51jYqLRmT5TiC3NHjEN 0rCy6jU0WMfHLATZ2NW82mpw/LwaG9c7UKr54wPq31mh7c/Acd4/7LSWuPDuADS0Zosd W3606oWGfW0puSBH3Tukvs4LrchfzZPa/a6ehM7k2SLL+hZEwsYMQkrgygwqswwuFtyW WA== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp2120.oracle.com with ESMTP id 2n7vaqhgrf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Oct 2018 23:25:46 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w9QNPeeh014926 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Oct 2018 23:25:41 GMT Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w9QNPeGW024839; Fri, 26 Oct 2018 23:25:40 GMT Received: from localhost (/10.145.179.102) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 26 Oct 2018 16:25:40 -0700 Date: Fri, 26 Oct 2018 16:25:38 -0700 From: "Darrick J. Wong" To: Eric Sandeen Cc: xfs Subject: [PATCH] misc: only build with lto if explicitly enabled Message-ID: <20181026232538.GK28243@magnolia> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9058 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810260195 Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Darrick J. Wong Change the LTO default to off from probe because it wastes build time on developer machines. Anyone who really wants it for release builds or whatever can still turn it on. Signed-off-by: Darrick J. Wong Reviewed-by: Dave Chinner --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 44a4b3a8..f8f29c07 100644 --- a/configure.ac +++ b/configure.ac @@ -109,8 +109,8 @@ AC_ARG_ENABLE(threadsan, AC_SUBST(enable_threadsan) AC_ARG_ENABLE(lto, -[ --enable-lto=[yes/no] Enable link time optimization (LTO) [default=probe]],, - enable_lto=probe) +[ --enable-lto=[yes/no] Enable link time optimization (LTO) [default=no]],, + enable_lto=no) AC_SUBST(enable_lto) # Enable xfs_scrub build