[med-svn] [Git][med-team/libpll][master] d/patches: Pass CFLAGS during build
Lance Lin (@linqigang)
gitlab at salsa.debian.org
Wed Dec 13 13:07:38 GMT 2023
Lance Lin pushed to branch master at Debian Med / libpll
Commits:
2d91a93e by Lance Lin at 2023-12-13T20:06:41+07:00
d/patches: Pass CFLAGS during build
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/pass_cflags_during_build.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -9,6 +9,7 @@ libpll (0.3.2-5) UNRELEASED; urgency=medium
* d/libpll-dev.examples: Install examples folder
* d/rules: Remove files from debian/tmp that do not get installed
* d/tests/run-unit-test: Run tests for all supported python versions
+ * d/patches: Pass CFLAGS during build
-- Lance Lin <lq27267 at gmail.com> Tue, 12 Dec 2023 19:59:18 +0700
=====================================
debian/patches/pass_cflags_during_build.patch
=====================================
@@ -0,0 +1,15 @@
+Description: Pass CFLAGS during build
+Author: Lance Lin <lq27267 at gmail.com>
+Forwarded: not-needed
+Date: 13 Dec 2023
+
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,6 +1,6 @@
+ lib_LTLIBRARIES=libpll.la
+
+-AM_CFLAGS=-Wall -Wsign-compare -D_GNU_SOURCE -std=c99 -O3 -fPIC
++AM_CFLAGS=$(shell dpkg-buildflags --get CFLAGS) -Wall -Wsign-compare -D_GNU_SOURCE -std=c99 -O3 -fPIC
+
+ LIBPLLHEADERS=\
+ pll.h
=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
2to3.patch
fix-parallel-build.patch
+pass_cflags_during_build.patch
View it on GitLab: https://salsa.debian.org/med-team/libpll/-/commit/2d91a93e5755f0babdeca855ba11d43da87b4a73
--
View it on GitLab: https://salsa.debian.org/med-team/libpll/-/commit/2d91a93e5755f0babdeca855ba11d43da87b4a73
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/20231213/ccfc842b/attachment-0001.htm>
More information about the debian-med-commit
mailing list