[med-svn] [Git][med-team/sumalibs][master] 2 commits: Adding explicit -lm flag to the build to include the math library on all arches

Pierre Gruet (@pgt) gitlab at salsa.debian.org
Sun Jan 12 20:55:43 GMT 2025



Pierre Gruet pushed to branch master at Debian Med / sumalibs


Commits:
cf2056ff by Pierre Gruet at 2025-01-12T21:09:57+01:00
Adding explicit -lm flag to the build to include the math library on all arches

- - - - -
72b46d1c by Pierre Gruet at 2025-01-12T21:10:11+01:00
Upload to unstable

- - - - -


2 changed files:

- debian/changelog
- debian/patches/using_cmake.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+sumalibs (1.0.36-5) unstable; urgency=medium
+
+  * Adding explicit -lm flag to the build to include the math library on all
+    arches
+
+ -- Pierre Gruet <pgt at debian.org>  Sun, 12 Jan 2025 21:10:01 +0100
+
 sumalibs (1.0.36-4) unstable; urgency=medium
 
   * DEB_CFLAGS_MAINT_APPEND -Wno-incompatible-pointer-types


=====================================
debian/patches/using_cmake.patch
=====================================
@@ -7,7 +7,7 @@ Last-Update: 2020-04-13
 
 --- /dev/null
 +++ b/CMakeLists.txt
-@@ -0,0 +1,63 @@
+@@ -0,0 +1,71 @@
 +cmake_minimum_required(VERSION 3.16)
 +project(sumalibs)
 +
@@ -37,6 +37,10 @@ Last-Update: 2020-04-13
 +        libsse/
 +)
 +
++target_link_libraries(suma
++        m
++)
++
 +set_target_properties(suma PROPERTIES
 +        VERSION ${VERSION}
 +        SOVERSION ${SOVERSION}
@@ -55,6 +59,10 @@ Last-Update: 2020-04-13
 +        libsse/
 +)
 +
++target_link_libraries(sumaa
++        m
++)
++
 +set_target_properties(sumaa PROPERTIES
 +        OUTPUT_NAME suma
 +)



View it on GitLab: https://salsa.debian.org/med-team/sumalibs/-/compare/e674fc6dd46a3792bcffcb2a89e982db5570425c...72b46d1c6cf933a9c2da4de7f4531286d5c42cc6

-- 
View it on GitLab: https://salsa.debian.org/med-team/sumalibs/-/compare/e674fc6dd46a3792bcffcb2a89e982db5570425c...72b46d1c6cf933a9c2da4de7f4531286d5c42cc6
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/20250112/36b5531d/attachment-0001.htm>


More information about the debian-med-commit mailing list