File: no_thin_archives.patch

package info (click to toggle)
libatomic-queue 1.6.5-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 13,460 kB
  • sloc: cpp: 1,692; javascript: 368; makefile: 160; python: 82; ansic: 81; sh: 59
file content (17 lines) | stat: -rw-r--r-- 749 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Andreas Tille <tille@debian.org>
Last-Update: 2021-12-21
Description: The build system is set up to produce "thin" archives
 that can't stand on their own
Origin: https://lists.debian.org/debian-med/2021/12/msg00131.html

--- libatomic-queue.orig/Makefile
+++ libatomic-queue/Makefile
@@ -78,7 +78,7 @@
 LINK.EXE = ${LD} -o $@ $(ldflags) $(filter-out ${relink},$^) $(ldlibs)
 SOVERSION := 0
 LINK.SO = ${LD} -o $@.$(SOVERSION) -shared -Wl,-soname,`basename $@`.$(SOVERSION) $(ldflags) $(filter-out Makefile,$^) $(ldlibs)
-LINK.A = ${AR} rscT $@ $(filter-out ${relink},$^)
+LINK.A = ${AR} rsc $@ $(filter-out ${relink},$^)

 ifneq (,$(findstring n,$(firstword -${MAKEFLAGS})))
 # Perform bash parameter expansion when --just-print for rtags.