Bug#831773: gngb: please make the build reproducible

Chris Lamb lamby at debian.org
Tue Jul 19 10:35:07 UTC 2016


Source: gngb
Version: 20060309-3.1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed
that gngb could not be built reproducibly.

Patch attached.

 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
diff --git a/configure.in b/configure.in
index 9b8aeec..145bd73 100644
--- a/configure.in
+++ b/configure.in
@@ -90,6 +90,7 @@ fi
 dnl Arch
 
 case `uname -m` in
+*x86_64) arch_info=x86_64 ;;
 *686) arch_info=i686 ;;
 *i586) arch_info=i586 ;;
 *i486) arch_info=i486 ;;
@@ -107,7 +108,7 @@ sys_info=`uname -s`
 AC_MSG_RESULT(System: $sys_info)
 
 case $arch_info in
-i686|i586|i486|i386) OPT="-O3  -Wno-unused -funroll-loops -fstrength-reduce \
+x86_64|i686|i586|i486|i386) OPT="-O3  -Wno-unused -funroll-loops -fstrength-reduce \
                           -ffast-math -falign-functions=2 -falign-jumps=2 \
                           -falign-loops=2 -fomit-frame-pointer -Wall " ;;
 sun4u)               OPT="-O3  -Wno-unused -funroll-loops -fstrength-reduce \


More information about the Pkg-games-devel mailing list