[evince] build: Have ar default to "crD" instead of "cru"



commit df0c3d144b68ffe67cdf48beca8b8ed31d8c2dea
Author: astian <astian eclipso at>
Date:   Wed Aug 2 11:16:37 2017 +0000

    build: Have ar default to "crD" instead of "cru"
    
    Commonly distributed binutils (e.g., Debian) comes built with
    --enable-deterministic-archives which makes ar default to option "D".
    Option "D" overrides "u" and if "u" is given a cautionary message will
    be printed.  Autoconf seems to set options "cru" by default.  Avoid the
    annoying message by removing "u", and, for completeness, explicitly put
    "D" as well.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=785763

 configure.ac |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 205cac5..6c91897 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,6 +59,14 @@ AC_PROG_CXX
 
 AC_PROG_SED
 
+# Commonly distributed binutils (e.g., Debian) comes built with
+# --enable-deterministic-archives which makes ar default to option "D".
+# Option "D" overrides "u" and if "u" is given a cautionary message will be
+# printed.  Autoconf seems to set options "cru" by default.  Avoid the
+# annoying message by removing "u", and, for completeness, explicitly put "D"
+# as well.
+AR_FLAGS=crD
+
 # Initialize libtool
 LT_PREREQ([2.2])
 LT_INIT


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