[med-svn] [Git][med-team/libcereal][master] -latomic for some platforms

Michael R. Crusoe gitlab at salsa.debian.org
Mon Nov 4 11:30:20 GMT 2019



Michael R. Crusoe pushed to branch master at Debian Med / libcereal


Commits:
e551f7c7 by Michael R. Crusoe at 2019-11-04T11:29:32Z
-latomic for some platforms

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+libcereal (1.3.0-2) unstable; urgency=medium
+
+  * debian/ruiles: Work around build failures on platforms without processor
+    intrinsics for atomic operations
+
+ -- Michael R. Crusoe <michael.crusoe at gmail.com>  Mon, 28 Oct 2019 14:19:21 +0100
+
 libcereal (1.3.0-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/rules
=====================================
@@ -1,10 +1,14 @@
 #!/usr/bin/make -f
 
+ifneq (,$(filter $(DEB_HOST_ARCH),armel m68k mips mipsel powerpc sh4))
+  EXTRA=-DCMAKE_CXX_STANDARD_LIBRARIES=-latomic
+endif
+
 %:
 	dh $@
 
 override_dh_auto_configure:
-	dh_auto_configure -- -DSKIP_PORTABILITY_TEST=on
+	dh_auto_configure -- -DSKIP_PORTABILITY_TEST=on $(EXTRA)
 
 override_dh_auto_build:
 	dh_auto_build -- all doc



View it on GitLab: https://salsa.debian.org/med-team/libcereal/commit/e551f7c776b36e3d6f9a98980fb8e2cabeedf7ad

-- 
View it on GitLab: https://salsa.debian.org/med-team/libcereal/commit/e551f7c776b36e3d6f9a98980fb8e2cabeedf7ad
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20191104/f56d7166/attachment-0001.html>


More information about the debian-med-commit mailing list