Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hddemux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
dkg
hddemux
Commits
1f7f2896
Commit
1f7f2896
authored
6 years ago
by
dkg
Browse files
Options
Downloads
Patches
Plain Diff
link only as needed
parent
bed60eb6
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/patches/0008-link-only-as-needed.patch
+21
-0
21 additions, 0 deletions
debian/patches/0008-link-only-as-needed.patch
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
22 additions
and
0 deletions
debian/patches/0008-link-only-as-needed.patch
0 → 100644
+
21
−
0
View file @
1f7f2896
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Date: Mon, 7 Jan 2019 16:43:41 -0500
Subject: link only as needed
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index e96b6c2..610d25d 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@
check: hddemux
PATH=.:$$PATH ./testsuite
hddemux: hddemux.c
- gcc $(CPPFLAGS) $(CFLAGS) $< $(LDFLAGS) -std=c11 -pedantic -Wall -Werror -o $@
+ gcc $(CPPFLAGS) $(CFLAGS) $< -Wl,--as-needed $(LDFLAGS) -std=c11 -pedantic -Wall -Werror -o $@
hddemux.1: hddemux.1.md
pandoc -s -f markdown -t man -o $@ $<
This diff is collapsed.
Click to expand it.
debian/patches/series
+
1
−
0
View file @
1f7f2896
...
...
@@ -5,3 +5,4 @@
0005-testsuite-handle-other-nginx-temp_path-vars.patch
0006-testsuite-send-expected-stderr-to-stdout.patch
0007-testsuite-Unset-https_proxy-and-http_proxy.patch
0008-link-only-as-needed.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