Module Name:    src
Committed By:   perry
Date:           Wed Apr  1 17:51:12 UTC 2009

Modified Files:
        src/sys/rump: Makefile.rump

Log Message:
More reproducible build fixes:

1) invoke objcopy with --preserve-dates or it will update all the
   dates in the .a file to the present date.
2) add an invocation of ar-as-ranlib or the object file index ends up
   with the date in it. (it might also end up with an incorrect
   index.)


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/rump/Makefile.rump

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/Makefile.rump
diff -u src/sys/rump/Makefile.rump:1.35 src/sys/rump/Makefile.rump:1.36
--- src/sys/rump/Makefile.rump:1.35	Sat Mar 21 04:59:08 2009
+++ src/sys/rump/Makefile.rump	Wed Apr  1 17:51:12 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.rump,v 1.35 2009/03/21 04:59:08 pooka Exp $
+#	$NetBSD: Makefile.rump,v 1.36 2009/04/01 17:51:12 perry Exp $
 #
 
 WARNS?=		3	# XXX: src/sys won't compile with -Wsign-compare yet
@@ -61,5 +61,6 @@
 	    $$NF!~/^(rump|RUMP|__|_GLOBAL_OFFSET_TABLE'${_SYMQUIRK}')/ \
 	      {printf "%s rumpns_%s\n", $$NF, $$NF}' \
 	    | sort | uniq  > renametab.${.TARGET}
-	${OBJCOPY} --redefine-syms renametab.${.TARGET} ${.TARGET}
+	${OBJCOPY} --preserve-dates --redefine-syms renametab.${.TARGET} ${.TARGET}
 	rm -f renametab.${.TARGET}
+	${AR} ${_ARRANFL} ${.TARGET}

Reply via email to