From 28c2ad4b3db390d1ad468878a7d8b23846a0477b Mon Sep 17 00:00:00 2001 From: Boyuan Yang Date: Fri, 30 Oct 2020 22:46:41 -0400 Subject: debian/rules: Try to fix FTBFS on mipsel --- debian/rules | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'debian') 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 $@ -- cgit v1.2.3