From patchwork Fri Sep 4 23:06:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Hannemann X-Patchwork-Id: 7126621 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F22A4BEEC1 for ; Fri, 4 Sep 2015 23:13:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 27386208B7 for ; Fri, 4 Sep 2015 23:13:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 10631208AF for ; Fri, 4 Sep 2015 23:13:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934090AbbIDXMx (ORCPT ); Fri, 4 Sep 2015 19:12:53 -0400 Received: from mail2.unitix.de ([176.9.125.4]:48987 "EHLO mail2.unitix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933992AbbIDXMw (ORCPT ); Fri, 4 Sep 2015 19:12:52 -0400 X-Greylist: delayed 390 seconds by postgrey-1.27 at vger.kernel.org; Fri, 04 Sep 2015 19:12:52 EDT Received: from kallisto.credativ.lan (p4FFB55D3.dip0.t-ipconnect.de [79.251.85.211]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail2.unitix.de (Postfix) with ESMTPSA id 9353C2FFA; Sat, 5 Sep 2015 01:06:18 +0200 (CEST) From: Arnd Hannemann To: linux-btrfs@vger.kernel.org Cc: Arnd Hannemann Subject: [PATCH] btrfs-progs: makefile: drop u option from ar invocation Date: Sat, 5 Sep 2015 01:06:18 +0200 Message-Id: <1441407978-23061-1-git-send-email-arnd@arndnet.de> X-Mailer: git-send-email 2.5.0 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP In newer distros (ubuntu 15.10, fedora rawhide) the binutils ar uses the new D flag per default to build deterministic binaries. Without this patch the following warning is issued, when building btrfs-progs: [AR] libbtrfs.a /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U') For libtrfs.a performance benefit of the u option can be neglected, so drop the u option and silence the warning. In the future one might want to explicitly add the D option anyway. Signed-off-by: Arnd Hannemann --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 665f83c..514a76f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -199,7 +199,7 @@ $(libs_shared): $(libbtrfs_objects) $(lib_links) send.h $(libs_static): $(libbtrfs_objects) @echo " [AR] $@" - $(Q)$(AR) cru libbtrfs.a $(libbtrfs_objects) + $(Q)$(AR) cr libbtrfs.a $(libbtrfs_objects) $(lib_links): @echo " [LN] $@"