[med-svn] [Git][med-team/porechop][debian/experimental] Added patch for CPPFLAGS & LDFLAGS

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Wed Nov 27 16:06:42 GMT 2024



Michael R. Crusoe pushed to branch debian/experimental at Debian Med / porechop


Commits:
7751992c by Michael R. Crusoe at 2024-11-27T17:05:07+01:00
Added patch for CPPFLAGS & LDFLAGS

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/hardening
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,10 +1,14 @@
 porechop (0.2.4+dfsg-7) experimental; urgency=medium
 
+  [ Enrico Seiler ]
   * Team upload.
   * d/control: Experimental rebuild using the 3rd release candidate of
     SeqAn 2.5.0
   * Added patch for the explicit seqan2 namespace.
 
+  [ Michael R. Crusoe ]
+  * Added patch for CPPFLAGS & LDFLAGS
+
  -- Enrico Seiler <enrico.seiler.debian at outlook.com>  Wed, 27 Nov 2024 14:52:55 +0100
 
 porechop (0.2.4+dfsg-6) unstable; urgency=medium


=====================================
debian/patches/hardening
=====================================
@@ -0,0 +1,28 @@
+From: Michael R. Crusoe <crusoe at debian.org>
+Subject: Enable user-supplied LDFLAGS and CPPFLAGS
+--- porechop.orig/Makefile
++++ porechop/Makefile
+@@ -15,7 +15,7 @@
+ 
+ # These flags are required for the build to work.
+ FLAGS        = -std=c++17 -Iporechop/include -fPIC
+-LDFLAGS      = -shared
++LDFLAGS      += -shared
+ 
+ # Different debug/optimisation levels for debug/release builds.
+ DEBUGFLAGS   = -DSEQAN_ENABLE_DEBUG=1 -g
+@@ -44,7 +44,7 @@
+ debug: $(TARGET)
+ 
+ $(TARGET): $(OBJECTS)
+-	$(CXX) $(FLAGS) $(CXXFLAGS) $(LDFLAGS) -o $(TARGET) $(OBJECTS)
++	$(CXX) $(FLAGS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $(TARGET) $(OBJECTS)
+ 
+ clean:
+ 	$(RM) $(OBJECTS)
+@@ -53,4 +53,4 @@
+ 	$(RM) $(TARGET)
+ 
+ %.o: %.cpp $(HEADERS)
+-	$(CXX) $(FLAGS) $(CXXFLAGS) -c -o $@ $<
++	$(CXX) $(FLAGS) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ add_python_interpreter_line.patch
 no_soname.patch
 define-all-attribute-in-clean.patch
 0004-Upgrade-to-SeqAn-2.5.0.patch
+hardening



View it on GitLab: https://salsa.debian.org/med-team/porechop/-/commit/7751992ca479c38a79247e685a66afde4e4f9e10

-- 
View it on GitLab: https://salsa.debian.org/med-team/porechop/-/commit/7751992ca479c38a79247e685a66afde4e4f9e10
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/20241127/487df128/attachment-0001.htm>


More information about the debian-med-commit mailing list