blob: 7aa488248f52ddc2ce4ba447b7d4beeb57620c07 (
plain)
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
|
Description: FTCBFS: hard codes the build architecture C++ compiler
libsgml-parser-opensp-perl fails to cross build from source, because the
Makefile.PL hard codes the build architecture C++ compiler. I'm attaching a
patch for your convenience to make it use the host one and thus make
libsgml-parser-opensp-perl cross buildable.
Origin: vendor
Bug: https://bugs.debian.org/1023487
Forwarded: no
Author: Helmut Grohne <helmut@subdivi.de>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2022-11-23
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -13,8 +13,8 @@
else
{
# assume some compatible Linux
- $options{LD} = "g++";
- $options{CC} = "g++";
+ $options{CC} = $ENV{CXX} || "g++";
+ $options{LD} = $options{CC};
$options{LIBS} = "-lstdc++ -losp";
}
|