summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.14.3/debian/fixes/document_makemaker_ccflags.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.14.3/debian/fixes/document_makemaker_ccflags.diff')
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.3/debian/fixes/document_makemaker_ccflags.diff32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.14.3/debian/fixes/document_makemaker_ccflags.diff b/meta/recipes-devtools/perl/perl-5.14.3/debian/fixes/document_makemaker_ccflags.diff
new file mode 100644
index 0000000000..3f2c3dc646
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.3/debian/fixes/document_makemaker_ccflags.diff
@@ -0,0 +1,32 @@
1Upstream-Status:Inappropriate [debian patches]
2From f0e3a51bd7286788e410510af86a6c07edac4445 Mon Sep 17 00:00:00 2001
3From: Niko Tyni <ntyni@debian.org>
4Date: Mon, 30 May 2011 22:54:24 +0300
5Subject: Document that CCFLAGS should include $Config{ccflags}
6
7Bug: https://rt.cpan.org/Public/Bug/Display.html?id=68613
8Bug-Debian: http://bugs.debian.org/628522
9
10Compiling XS extensions without $Config{ccflags} can break the
11binary interface on some platforms.
12
13Patch-Name: fixes/document_makemaker_ccflags.diff
14---
15 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm | 4 ++++
16 1 files changed, 4 insertions(+), 0 deletions(-)
17
18diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm
19index be9624e..c56ca8f 100644
20--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm
21+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm
22@@ -1524,6 +1524,10 @@ currently used by MakeMaker but may be handy in Makefile.PLs.
23 String that will be included in the compiler call command line between
24 the arguments INC and OPTIMIZE.
25
26+The default value is taken from $Config{ccflags}. When overriding
27+CCFLAGS, make sure to include the $Config{ccflags} settings to avoid
28+binary incompatibilities.
29+
30 =item CONFIG
31
32 Arrayref. E.g. [qw(archname manext)] defines ARCHNAME & MANEXT from