Source: noiz2sa
Version: 0.51a-10.1
Severity: wishlist
Tags: patch upstream
User: [email protected]
Usertags: locale
X-Debbugs-Cc: [email protected]

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that noiz2sa could not be built reproducibly.
During build objects are packed into an archive in different order
depending on the locale.

The attached patch fixes this by using the variables that contain static
file lists already.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/src/bulletml/Makefile b/src/bulletml/Makefile
index 2840697..1a6cbc1 100644
--- a/src/bulletml/Makefile
+++ b/src/bulletml/Makefile
@@ -11,7 +11,7 @@ all: libbulletml.a
 
 libbulletml.a: $(OBJS)
 	$(MAKE) -C tinyxml
-	$(AR) -r libbulletml.a *.o tinyxml/tiny*.o
+	$(AR) -r libbulletml.a $(OBJS) $(LIBS)
 
 clean:
 	rm -f *.o *.a

Attachment: signature.asc
Description: PGP signature

Reply via email to