[nethack] 02/04: Manually build makedefs before the rest of the game.
James Cowgill
jcowgill-guest at moszumanska.debian.org
Mon Mar 21 17:58:26 UTC 2016
This is an automated email from the git hooks/post-receive script.
jcowgill-guest pushed a commit to branch master
in repository nethack.
commit 816f6dda3197ad6e70d5c869a7a47fcf719809e6
Author: Reiner Herrmann <reiner at reiner-h.de>
Date: Mon Mar 21 13:16:22 2016 +0000
Manually build makedefs before the rest of the game.
This avoids a race condition in the build system which can cause different
paths to be embedded in the final game (making the build unreproducible) or in
certain circumstances fail the build. See #818128
---
debian/rules | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/rules b/debian/rules
index 69a11ce..ddd7e8c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,6 +30,7 @@ define build_target
$(MAKE) clean
touch include/config.h
sleep 2
+ $(MAKE) LFLAGS='$(LFLAGS)' CFLAGS='$(CFLAGS)' LINK='$$(CC)' -C util makedefs
$(MAKE) LFLAGS='$(LFLAGS)' CFLAGS='$(CFLAGS) $(EXTRACPP_$1)' \
WINSRC='$(SRC_$1)' WINOBJ='$(OBJ_$1)' WINLIB='$(LIB_$1)' \
LINK='$$(CC)' $(EXTRA_$1) GAME='nethack-$1' \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/nethack.git
More information about the Pkg-games-commits
mailing list