lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 3642b08: Move AR_FLAGS setting to configure t


From: Vadim Zeitlin
Subject: [lmi-commits] [lmi] master 3642b08: Move AR_FLAGS setting to configure to make it work by default
Date: Wed, 11 Jan 2017 22:15:12 +0000 (UTC)

branch: master
commit 3642b08dbf3a060716d1e7ea24bc89a1e9233d0b
Author: Vadim Zeitlin <address@hidden>
Commit: Vadim Zeitlin <address@hidden>

    Move AR_FLAGS setting to configure to make it work by default
    
    Finally really fix the "ar u" warning by ensuring that the generated libtool
    script uses "cr" options instead of the default "cru".
---
 Makefile.am  |    9 ---------
 configure.ac |    9 +++++++++
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index ce422d4..c5307a3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -35,15 +35,6 @@ endif
 
 ACLOCAL_AMFLAGS = -I aclocal
 
-# This is a workaround for the harmless but annoying warning
-#
-# ar: `u' modifier ignored since `D' is the default (see `U')
-#
-# 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 Libtool up to 2.4.6.
-AR_FLAGS = cr
-
 ##############################################################################
 # All Targets
 ##############################################################################
diff --git a/configure.ac b/configure.ac
index d5e9f4a..d755df1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -122,6 +122,15 @@ AX_CXX_COMPILE_STDCXX(11, noext)
 
 AC_PROG_LD
 
+# This is a workaround for the harmless but annoying warning
+#
+# ar: `u' modifier ignored since `D' is the default (see `U')
+#
+# 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 Libtool up to 2.4.6.
+AR_FLAGS=cr
+
 AC_CACHE_CHECK([if using clang],
     lmi_cv_prog_clang,
     [



reply via email to

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