Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
libapache2-mod-perl2
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Perl Group
modules
packages
libapache2-mod-perl2
Commits
506cd580
Commit
506cd580
authored
8 years ago
by
Damyan Ivanov
Browse files
Options
Downloads
Patches
Plain Diff
Patch Apache2::Build to add LDFLAGS to ldopts() result
Closes: #823967
parent
45971ec2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/patches/honour-env-LDFLAGS.patch
+18
-0
18 additions, 0 deletions
debian/patches/honour-env-LDFLAGS.patch
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
19 additions
and
0 deletions
debian/patches/honour-env-LDFLAGS.patch
0 → 100644
+
18
−
0
View file @
506cd580
Description: LDFLAGS from the environment
Debian build system has a standard way to deploy various hardening compiler
and linker flags. This includes setting CPPFLAGS, CFLAGS and LDFLAGS. However,
LDFLAGS is ignored by Apache2::Build.
Author: Damyan Ivanov <dmn@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823967
--- a/lib/Apache2/Build.pm
+++ b/lib/Apache2/Build.pm
@@ -557,6 +557,8 @@
sub ldopts {
or warn "Failed to fix Irix symbol exporting\n";
}
+ $ldopts .= " $ENV{LDFLAGS}" if exists $ENV{LDFLAGS};
+
$ldopts;
}
This diff is collapsed.
Click to expand it.
debian/patches/series
+
1
−
0
View file @
506cd580
...
...
@@ -15,3 +15,4 @@ avoid-db-linkage.patch
0002-Fix-t-modperl-print.t-t-modperl-printf.t-and-t-direc.patch
svn-r1717474-perl-5.22.patch
0001-Skip-t-protocol-pseudo_http.t-incompatible-with-Apac.patch
honour-env-LDFLAGS.patch
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment