File: no_thin_archives.patch

package info (click to toggle)
libatomic-queue 0.0%2Bgit20220518.83774a2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,352 kB
  • sloc: cpp: 1,620; javascript: 353; makefile: 131; python: 82; ansic: 74; sh: 59
file content (17 lines) | stat: -rw-r--r-- 750 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: Tue, 21 Dec 2021 18:29:28 +0100
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

--- a/Makefile
+++ b/Makefile
@@ -62,7 +62,7 @@ PREPROCESS.CXX = ${CXX} -o $@ -E ${cppfl
 COMPILE.C = ${CC} -o $@ -c ${cppflags} ${cflags} -MD -MP $(abspath $<)
 LINK.EXE = ${LD} -o $@ $(ldflags) $(filter-out Makefile,$^) $(ldlibs)
 LINK.SO = ${LD} -o $@.$(SOVERSION) -shared -Wl,-soname,`basename $@`.$(SOVERSION) $(ldflags) $(filter-out Makefile,$^) $(ldlibs)
-LINK.A = ${AR} rscT $@ $(filter-out Makefile,$^)
+LINK.A = ${AR} rsc $@ $(filter-out Makefile,$^)
 
 exes := benchmarks tests example