[med-svn] [Git][med-team/phast][master] 2 commits: hardening.patch: add support for CPPFLAGS.
Étienne Mollier (@emollier)
gitlab at salsa.debian.org
Sun Jan 5 20:18:28 GMT 2025
Étienne Mollier pushed to branch master at Debian Med / phast
Commits:
101cebcc by Étienne Mollier at 2025-01-05T21:15:15+01:00
hardening.patch: add support for CPPFLAGS.
This fixes remaining issues left in binaries hardening.
- - - - -
dc61225d by Étienne Mollier at 2025-01-05T21:16:25+01:00
d/changelog: update changelog.
- - - - -
2 changed files:
- debian/changelog
- debian/patches/hardening.patch
Changes:
=====================================
debian/changelog
=====================================
@@ -6,8 +6,10 @@ phast (1.7+dfsg-2) unstable; urgency=medium
blocks the parallelism on that target. (Closes: #1091563)
* gcc-14.patch: declare forwarding unneeded.
* d/patches/*: normalize the last-update timestamp.
+ * hardening.patch: add support for CPPFLAGS.
+ This fixes remaining issues left in binaries hardening.
- -- Étienne Mollier <emollier at debian.org> Sun, 05 Jan 2025 20:28:50 +0100
+ -- Étienne Mollier <emollier at debian.org> Sun, 05 Jan 2025 21:16:07 +0100
phast (1.7+dfsg-1) unstable; urgency=medium
=====================================
debian/patches/hardening.patch
=====================================
@@ -1,6 +1,11 @@
Author: Andreas Tille <tille at debian.org>
-Last-Update: 2016-05-27
+Reviewed-By: Étienne Mollier <emollier at debian.org>
+Last-Update: 2025-01-05
+Forwarded: not-needed
Description: Propagate hardening options
+ Later edited to add support for CPPFLAGS. This change modifies the
+ build infrastructure for needs that are somewhat Debian specific, hence
+ forwarding not needed.
--- a/src/make-include.mk
+++ b/src/make-include.mk
@@ -9,7 +14,7 @@ Description: Propagate hardening options
# CFLAGS = -g -fno-inline -Wall -DPHAST_DEBUG
# for best performance
- CFLAGS = -O3 -Wall
-+ CFLAGS += -O3 -Wall
++ CFLAGS += $(CPPFLAGS) -O3 -Wall
# some other options
#CFLAGS = -mcpu=opteron -O3
#CFLAGS = -mcpu=pentiumpro -O3
View it on GitLab: https://salsa.debian.org/med-team/phast/-/compare/98d74582645053919732ce518555e84408cbce7d...dc61225d86a410b66838f776e6eb39f898aa597d
--
View it on GitLab: https://salsa.debian.org/med-team/phast/-/compare/98d74582645053919732ce518555e84408cbce7d...dc61225d86a410b66838f776e6eb39f898aa597d
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/20250105/6ccdb215/attachment-0001.htm>
More information about the debian-med-commit
mailing list