[mupen64plus] 108/262: Disable assembler optimized parts on unsupported architectures
Sven Eckelmann
ecsv-guest at moszumanska.debian.org
Thu Nov 26 05:59:23 UTC 2015
This is an automated email from the git hooks/post-receive script.
ecsv-guest pushed a commit to branch master
in repository mupen64plus.
commit 88a8a6e933cc86b7212407f3dc27357373f5f373
Author: Sven Eckelmann <sven.eckelmann at gmx.de>
Date: Tue Sep 1 18:16:20 2009 +0200
Disable assembler optimized parts on unsupported architectures
---
debian/changelog | 2 ++
debian/rules | 17 ++++++++++++++++-
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index dc78e6d..bffbfe0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,8 @@ mupen64plus (1.5+dfsg1-2) UNRELEASED; urgency=low
* debian/control:
- Depend on libxdg-basedir-dev and pkg-config to support xdg-basedir
specification
+ * debian/rules:
+ - Disable assembler optimized parts on unsupported architectures
* Add README.source with informations about patch management
* Add NEWS.Debian with information about migration of old data and
configuration to new xdg compliant directories
diff --git a/debian/rules b/debian/rules
index 37f5341..c52b424 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,21 @@
#!/usr/bin/make -f
# -*- makefile -*-
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+NOASM := 1
+ifeq ($(DEB_HOST_ARCH), i386)
+NOASM := 0
+endif
+ifeq ($(DEB_HOST_ARCH), amd64)
+NOASM := 0
+endif
+ifeq ($(DEB_HOST_ARCH), kfreebsd-i386)
+NOASM := 0
+endif
+ifeq ($(DEB_HOST_ARCH), kfreebsd-amd64)
+NOASM := 0
+endif
+
%:
dh --with quilt $@
@@ -16,7 +31,7 @@ clean:
override_dh_auto_build:
mkdir -p $(CURDIR)/plugins
- LDFLAGS='-Wl,--as-needed' $(MAKE) DBGSYM=1 DBG=1 all
+ LDFLAGS='-Wl,--as-needed' $(MAKE) NO_ASM=$(NOASM) DBGSYM=1 DBG=1 all
override_dh_auto_install:
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr/ LIBDIR=/usr/lib/mupen64plus/ BINDIR=/usr/games/ install
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus.git
More information about the Pkg-games-commits
mailing list