summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog6
-rwxr-xr-xdebian/rules4
2 files changed, 10 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 9fe069b..9f4722d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libguess (1.2-4) unstable; urgency=medium
+
+ * Disable the version script on mips mipsel powerpc powerpcspe.
+
+ -- Andrej Shadura <andrewsh@debian.org> Tue, 08 Jan 2019 18:40:41 +0100
+
libguess (1.2-3) unstable; urgency=medium
* Use debhelper-compat = 12, bump S-V.
diff --git a/debian/rules b/debian/rules
index 755fc58..d5d21d8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,12 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/architecture.mk
+
export CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
export CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
+ifeq ($(filter $(DEB_HOST_ARCH),mips mipsel powerpc powerpcspe),)
export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--version-script=$(CURDIR)/debian/version-script
+endif
export ACLOCAL := aclocal -I m4