diff options
author | Titus von Boxberg <titus@v9g.de> | 2011-08-22 07:26:02 (GMT) |
---|---|---|
committer | Titus von Boxberg <titus@v9g.de> | 2011-08-22 07:26:02 (GMT) |
commit | 3bd14bf2f010ba46fe9552e29c678c32522d76f9 (patch) | |
tree | 46a56b9d71d8ef35d64658d549a8c90822d38324 /patches/ltrace/0.5.3/180-libltrace-genindex.patch | |
parent | 31fb617ab28e2970d32dfc03bd096fbf563cd1f4 (diff) |
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>
(transplanted from f86af11138ea2b2ecd4876d9c6c24f58ba4d68ac)
Diffstat (limited to 'patches/ltrace/0.5.3/180-libltrace-genindex.patch')
-rw-r--r-- | patches/ltrace/0.5.3/180-libltrace-genindex.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/ltrace/0.5.3/180-libltrace-genindex.patch b/patches/ltrace/0.5.3/180-libltrace-genindex.patch new file mode 100644 index 0000000..0b1629b --- /dev/null +++ b/patches/ltrace/0.5.3/180-libltrace-genindex.patch @@ -0,0 +1,12 @@ +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 +@@ -39,7 +40,7 @@ + $(CC) $(LDFLAGS) $^ $(LIBS) -o $@ + + libltrace.a: sysdeps/sysdep.o $(OBJ) +- $(AR) rcv $@ $^ ++ $(AR) rscv $@ $^ + + $(OBJ): sysdeps/sysdep.o + |