lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 33bfa08 1/2: Adjust "ar u" warning fix to Lib


From: Vadim Zeitlin
Subject: [lmi-commits] [lmi] master 33bfa08 1/2: Adjust "ar u" warning fix to Libtool instead of Automake
Date: Wed, 11 Jan 2017 22:00:50 +0000 (UTC)

branch: master
commit 33bfa08f3ae36060ff23f32572c77c4b536ed686
Author: Vadim Zeitlin <address@hidden>
Commit: Vadim Zeitlin <address@hidden>

    Adjust "ar u" warning fix to Libtool instead of Automake
    
    We use Libtool for creating the libraries and it turns out that it uses a
    different name for the same variable, so setting ARFLAGS is not enough to
    suppress the warning, but AR_FLAGS is.
    
    This confusion is already fixed in the latest Libtool, but not in any 
version
    of it included in Debian (even unstable) yet, so it's still worth working
    around it for now.
---
 Makefile.am |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 4a6be7f..ce422d4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -41,8 +41,8 @@ ACLOCAL_AMFLAGS = -I aclocal
 #
 # given by Linux systems using recent binutils with the switch to building
 # deterministic archives (that can't include the timestamps) when building all
-# static libraries with default "cru" flags used by Automake up to 1.15.
-ARFLAGS = cr
+# static libraries with default "cru" flags used by Libtool up to 2.4.6.
+AR_FLAGS = cr
 
 ##############################################################################
 # All Targets



reply via email to

[Prev in Thread] Current Thread [Next in Thread]