[ode] 02/05: Setting only single precision on armel, mips and mipsel
Leopold Palomo-Avellaneda
leo at alaxarxa.net
Mon Sep 14 11:44:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
lepalom-guest pushed a commit to branch master
in repository ode.
commit ba3adc06d9e402f6141ec275d57b076258b41111
Author: Leopold Palomo-Avellaneda <leopold.palomo at upc.edu>
Date: Mon Sep 14 09:56:30 2015 +0200
Setting only single precision on armel, mips and mipsel
---
debian/rules | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/debian/rules b/debian/rules
index b8b6db6..a60cd61 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,13 +14,15 @@ DEB_BUILD_GNU_TYPE=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
# Multiarch.
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-# Num biits
+# Num bits
DEB_HOST_ARCH_BITS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_BITS)
-
-CONFIG_OPTS = --enable-double-precision
-
-ifeq ($(DEB_HOST_ARCH_BITS),32)
+# enabling single precision only for armel, mips and mipsel
+ifeq ($(DEB_HOST_ARCH),armel)
+ CONFIG_OPTS = --enable-single-precision
+else ifeq ($(DEB_HOST_ARCH),mips)
+ CONFIG_OPTS = --enable-single-precision
+else ifeq ($(DEB_HOST_ARCH),mipsel)
CONFIG_OPTS = --enable-single-precision
else
CONFIG_OPTS = --enable-double-precision
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ode.git
More information about the Pkg-games-commits
mailing list