From: Alexis Bienvenüe Date: Sat, 15 Oct 2016 12:49:02 +0000 (+0200) Subject: Sort *.o files X-Git-Tag: archive/raspbian/2.1.18-4+rpi1~1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c18164572d4c0ffbc5f37f77da7d2c7aa1b01eac;p=xpa.git Sort *.o files Build libs with fixed order *.o files, to ger reproducible build. Gbp-Pq: Name Sort-.o-files.patch --- diff --git a/Makefile.in b/Makefile.in index edcb82c..edb1a91 100644 --- a/Makefile.in +++ b/Makefile.in @@ -185,7 +185,7 @@ shlib: $(LIB) rm -f lib$(PACKAGE).tmp/xt*.o; \ rm -f lib$(PACKAGE).tmp/tcl*.o; \ CC='$(CC)' CXX=$(CXX) \ - ./mklib -ldflags "$(LDFLAGS)" -o $(PACKAGE) lib$(PACKAGE).tmp/*.o; \ + ./mklib -ldflags "$(LDFLAGS)" -o $(PACKAGE) `LC_ALL=C ls lib$(PACKAGE).tmp/*.o`; \ rm -rf lib$(PACKAGE).tmp) mingw-dll: $(LIBOBJS) @@ -204,7 +204,7 @@ shtclxpa: tclxpa @(rm -rf $(PACKAGE)tmp; mkdir $(PACKAGE)tmp; \ (cd $(PACKAGE)tmp && ar x ../libtclxpa.a); \ CC='$(CC)' CXX='$(CXX)' \ - ./mklib -ldflags "$(LDFLAGS)" -o tclxpa -L. -lxpa $(PACKAGE)tmp/*.o -ltclstub; \ + ./mklib -ldflags "$(LDFLAGS)" -o tclxpa -L. -lxpa `LC_ALL=C ls $(PACKAGE)tmp/*.o` -ltclstub; \ rm -rf $(PACKAGE)tmp; ) diff: