aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoyuan Yang <byang@debian.org>2020-10-30 22:46:41 -0400
committerBoyuan Yang <byang@debian.org>2020-10-30 22:46:41 -0400
commit28c2ad4b3db390d1ad468878a7d8b23846a0477b (patch)
tree96aa4defc01c50ec57dcd8b2e53e14398cd2ae30
parent8876cb397fceda0f0bfbad3516dc737a17306ded (diff)
downloadlibgav1-28c2ad4b3db390d1ad468878a7d8b23846a0477b.tar.gz
libgav1-28c2ad4b3db390d1ad468878a7d8b23846a0477b.tar.bz2
libgav1-28c2ad4b3db390d1ad468878a7d8b23846a0477b.zip
debian/rules: Try to fix FTBFS on mipsel
-rwxr-xr-xdebian/rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 09ea32f..6366686 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,11 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
CXXFLAGS += $(CPPFLAGS)
+# try to fix FTBFS on mipsel
+ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mips mipsel powerpc powerpcspe sh4))
+ export DEB_LDFLAGS_MAINT_APPEND=-latomic
+endif
+
%:
dh $@