crosstool-ng/patches/ltrace/0.5.3/190-ar-configurable.patch
Titus von Boxberg" 68cd6e6d26 debug/ltrace: Fix HOST_OS and ar
HOST_OS really is the target OS. Allow setting it for configure
via an environment variable.
libltrace.a should have an index:
Allow ar to be set as an environment variable, and generate
an index in this lib.

Reported-by: "Guylhem Aznar" <crossgcc@guylhem.net>
Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
2011-08-22 09:26:02 +02:00

25 lines
973 B
Diff

diff -ru ltrace-0.5.3.org/Makefile.in ltrace-0.5.3/Makefile.in
--- ltrace-0.5.3.org/Makefile.in 2011-08-21 18:55:15.000000000 +0200
+++ ltrace-0.5.3/Makefile.in 2011-08-21 18:40:53.000000000 +0200
@@ -15,6 +15,7 @@
mandir = @mandir@
docdir = $(prefix)/share/doc/ltrace
+AR = @AR@
CC = @CC@
CFLAGS = -Wall @CFLAGS@
CPPFLAGS = -iquote $(TOPDIR) -iquote $(TOPDIR)/sysdeps/$(OS) -DSYSCONFDIR=\"$(sysconfdir)\" @CPPFLAGS@
diff -ru ltrace-0.5.3.org/configure ltrace-0.5.3/configure
--- ltrace-0.5.3.org/configure 2011-08-21 18:55:15.000000000 +0200
+++ ltrace-0.5.3/configure 2011-08-21 18:54:46.000000000 +0200
@@ -113,7 +117,7 @@
#
# Makefile.in -> Makefile
#
-x_subst_vars='PACKAGE_VERSION HOST HOST_OS INSTALL CC CPPFLAGS CFLAGS LDFLAGS LIBS iquote iquoteend prefix sysconfdir mandir docdir'
+x_subst_vars='PACKAGE_VERSION HOST HOST_OS INSTALL AR CC CPPFLAGS CFLAGS LDFLAGS LIBS iquote iquoteend prefix sysconfdir mandir docdir'
for i in $x_subst_vars
do