[clanlib] 03/40: * Make sure "mips" doesn't trigger "mipsel" test in debian/rules.

Stephen Kitt skitt at moszumanska.debian.org
Fri Jun 10 20:13:35 UTC 2016


This is an automated email from the git hooks/post-receive script.

skitt pushed a commit to branch master
in repository clanlib.

commit 6d39375d9adc0d788459961fe657ee99ee50fb17
Author: Sam Hocevar <sho at debian.org>
Date:   Sat Apr 14 17:51:28 2007 +0000

      * Make sure "mips" doesn't trigger "mipsel" test in debian/rules.
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 0503f47..712c5fe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ CFLAGS := -fPIC -DDEBUG=1 -I/usr/include/lua40
 ifneq (,$(findstring functions,$(CLAN_BUILD_OPTIONS)))
 	CFLAGS += -ffunction-sections
 endif
-ifneq (,$(findstring $(DEB_HOST_ARCH),"hppa mipsel powerpc"))
+ifneq (,$(findstring "/$(DEB_HOST_ARCH)/","/hppa/mipsel/powerpc/"))
 	CFLAGS += -ffunction-sections
 endif
 CXXFLAGS := $(CFLAGS)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/clanlib.git



More information about the Pkg-games-commits mailing list