diff -ur netmaze-0.81+jpg0.82/debian/rules netmaze-0.81+jpg0.82.new/debian/rules --- netmaze-0.81+jpg0.82/debian/rules 2008-11-17 18:21:15.000000000 +0000 +++ netmaze-0.81+jpg0.82.new/debian/rules 2008-11-17 18:20:36.000000000 +0000 @@ -14,11 +14,20 @@ STRIP=strip SHELL=/bin/bash +# use -02 on ia64 to avoid a ftbfs +DEB_BUILD_ARCH_CPU ?=$(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU) +ifeq ($(DEB_BUILD_ARCH_CPU),ia64) + OPTLEVEL=-O2 +else + OPTLEVEL=-O3 +endif + + build: xmkmf -# Force compilation using -O3.... +# Force compilation using the desired optimisation level.... cp Makefile Makefile~ - sed s/-O2/-O3/ Makefile~ > Makefile + sed s/-O2/$(OPTLEVEL)/ Makefile~ > Makefile make touch build
I have attatched a patch which reduces the optimisation level of the
build to O2 on ia64. I have checked the patch sets the optimisation
level correctly by using a different architecture in the test but I do
not have access to an ia64 box so I can't test to confirm the subitters
statement that doing so fix the build on ia64.
- Bug#504087: netmaze: FTBFS on ia64 (using -O2 for allmove.c... peter green
- Bug#504087: netmaze: FTBFS on ia64 (using -O2 for allm... peter green
- Bug#504087: netmaze: FTBFS on ia64 (using -O2 for ... Adeodato Simó