File: Use-as-linker-in-c-libraries.patch

package info (click to toggle)
saods9 8.6%2Brepack-5
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 23,220 kB
  • sloc: tcl: 78,253; cpp: 71,015; ansic: 3,955; xml: 1,555; sh: 968; makefile: 183; perl: 68
file content (151 lines) | stat: -rw-r--r-- 4,912 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
From: Ole Streicher <olebole@debian.org>
Date: Fri, 10 Jan 2025 13:25:24 +0100
Subject: Use  as linker in c++ libraries

This is a minimal, Debian specific patch and not portable f.e. to Mac
and other systems.

Closes: #1092642
---
 ds9/tclconfig/tcl.m4       | 4 ++--
 fitsy/tclconfig/tcl.m4     | 4 ++--
 tclconfig/tcl.m4           | 4 ++--
 tclfitsy/tclconfig/tcl.m4  | 4 ++--
 tclxmlrpc/tclconfig/tcl.m4 | 4 ++--
 tksao/tclconfig/tcl.m4     | 2 +-
 vector/tclconfig/tcl.m4    | 4 ++--
 7 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/ds9/tclconfig/tcl.m4 b/ds9/tclconfig/tcl.m4
index abfd43a..3e29a64 100644
--- a/ds9/tclconfig/tcl.m4
+++ b/ds9/tclconfig/tcl.m4
@@ -1512,7 +1512,7 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [
 	    CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer"
 
 	    # TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS
-	    SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS_DEFAULT} -shared'
+	    SHLIB_LD='${CXX} ${CFLAGS} ${LDFLAGS_DEFAULT} -shared'
 	    LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
 
 	    case $system in
@@ -4069,4 +4069,4 @@ AC_DEFUN([TEA_ZIPFS_SUPPORT], [
 
 # Local Variables:
 # mode: autoconf
-# End:
\ No newline at end of file
+# End:
diff --git a/fitsy/tclconfig/tcl.m4 b/fitsy/tclconfig/tcl.m4
index abfd43a..3e29a64 100644
--- a/fitsy/tclconfig/tcl.m4
+++ b/fitsy/tclconfig/tcl.m4
@@ -1512,7 +1512,7 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [
 	    CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer"
 
 	    # TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS
-	    SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS_DEFAULT} -shared'
+	    SHLIB_LD='${CXX} ${CFLAGS} ${LDFLAGS_DEFAULT} -shared'
 	    LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
 
 	    case $system in
@@ -4069,4 +4069,4 @@ AC_DEFUN([TEA_ZIPFS_SUPPORT], [
 
 # Local Variables:
 # mode: autoconf
-# End:
\ No newline at end of file
+# End:
diff --git a/tclconfig/tcl.m4 b/tclconfig/tcl.m4
index abfd43a..3e29a64 100644
--- a/tclconfig/tcl.m4
+++ b/tclconfig/tcl.m4
@@ -1512,7 +1512,7 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [
 	    CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer"
 
 	    # TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS
-	    SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS_DEFAULT} -shared'
+	    SHLIB_LD='${CXX} ${CFLAGS} ${LDFLAGS_DEFAULT} -shared'
 	    LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
 
 	    case $system in
@@ -4069,4 +4069,4 @@ AC_DEFUN([TEA_ZIPFS_SUPPORT], [
 
 # Local Variables:
 # mode: autoconf
-# End:
\ No newline at end of file
+# End:
diff --git a/tclfitsy/tclconfig/tcl.m4 b/tclfitsy/tclconfig/tcl.m4
index abfd43a..3e29a64 100644
--- a/tclfitsy/tclconfig/tcl.m4
+++ b/tclfitsy/tclconfig/tcl.m4
@@ -1512,7 +1512,7 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [
 	    CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer"
 
 	    # TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS
-	    SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS_DEFAULT} -shared'
+	    SHLIB_LD='${CXX} ${CFLAGS} ${LDFLAGS_DEFAULT} -shared'
 	    LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
 
 	    case $system in
@@ -4069,4 +4069,4 @@ AC_DEFUN([TEA_ZIPFS_SUPPORT], [
 
 # Local Variables:
 # mode: autoconf
-# End:
\ No newline at end of file
+# End:
diff --git a/tclxmlrpc/tclconfig/tcl.m4 b/tclxmlrpc/tclconfig/tcl.m4
index abfd43a..3e29a64 100644
--- a/tclxmlrpc/tclconfig/tcl.m4
+++ b/tclxmlrpc/tclconfig/tcl.m4
@@ -1512,7 +1512,7 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [
 	    CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer"
 
 	    # TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS
-	    SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS_DEFAULT} -shared'
+	    SHLIB_LD='${CXX} ${CFLAGS} ${LDFLAGS_DEFAULT} -shared'
 	    LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
 
 	    case $system in
@@ -4069,4 +4069,4 @@ AC_DEFUN([TEA_ZIPFS_SUPPORT], [
 
 # Local Variables:
 # mode: autoconf
-# End:
\ No newline at end of file
+# End:
diff --git a/tksao/tclconfig/tcl.m4 b/tksao/tclconfig/tcl.m4
index 7842ff3..74db82c 100644
--- a/tksao/tclconfig/tcl.m4
+++ b/tksao/tclconfig/tcl.m4
@@ -1512,7 +1512,7 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [
 	    CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer"
 
 	    # TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS
-	    SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS_DEFAULT} -shared'
+	    SHLIB_LD='${CXX} ${CFLAGS} ${LDFLAGS_DEFAULT} -shared'
 	    LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
 
 	    case $system in
diff --git a/vector/tclconfig/tcl.m4 b/vector/tclconfig/tcl.m4
index abfd43a..3e29a64 100644
--- a/vector/tclconfig/tcl.m4
+++ b/vector/tclconfig/tcl.m4
@@ -1512,7 +1512,7 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [
 	    CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer"
 
 	    # TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS
-	    SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS_DEFAULT} -shared'
+	    SHLIB_LD='${CXX} ${CFLAGS} ${LDFLAGS_DEFAULT} -shared'
 	    LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
 
 	    case $system in
@@ -4069,4 +4069,4 @@ AC_DEFUN([TEA_ZIPFS_SUPPORT], [
 
 # Local Variables:
 # mode: autoconf
-# End:
\ No newline at end of file
+# End: