diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2019-01-03 16:01:48 +0100 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2019-01-03 16:01:48 +0100 |
commit | 2c117c9571a28b2835ddc35356c4b963a1821405 (patch) | |
tree | e22c7663d2b3219cad67e643ac6b61e73ddfdaa9 | |
parent | d653ec3909d00d8f65b1765ad228f45c00e644a1 (diff) |
Link against latomic on armhf to workaround a FTBFS Thanks to Adrian Bunk (Closes: #918060)7.0-3
-rw-r--r-- | debian/changelog | 7 | ||||
-rwxr-xr-x | debian/rules | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 36f812e..60f8c1e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +iwyu (7.0-3) unstable; urgency=medium + + * Link against latomic on armhf to workaround a FTBFS + Thanks to Adrian Bunk (Closes: #918060) + + -- Sylvestre Ledru <sylvestre@debian.org> Thu, 03 Jan 2019 16:01:39 +0100 + iwyu (7.0-2) unstable; urgency=medium * chrpath -d was enough to be able to remove my bad workaround diff --git a/debian/rules b/debian/rules index d2234f5..7ee475e 100755 --- a/debian/rules +++ b/debian/rules @@ -13,6 +13,10 @@ ifneq (,$(filter $(DEB_BUILD_ARCH),mips64el)) ADDITIONAL_CXX_FLAGS += -mxgot endif +ifneq (,$(filter $(DEB_HOST_ARCH), armel)) + export DEB_LDFLAGS_MAINT_APPEND = -latomic +endif + %: dh $@ --buildsystem=cmake --builddirectory=$(TARGET_BUILD) |