diff options
author | Jeremy Lainé <jeremy.laine@m4x.org> | 2009-04-02 15:09:38 +0000 |
---|---|---|
committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2009-04-02 15:09:38 +0000 |
commit | 7596f868583c6ef0897a869a89edc5dd4525206d (patch) | |
tree | b00e4aceb555f01da38f64ae5ebbe4b38cdc28dc /recipes/perl/perl-5.8.8 | |
parent | efbc7fe76ca09c3e760d1d42c35f97312a068ff6 (diff) |
perl-5.8.8: use LDFLAGS for shared libraries (fixes QA error)
Diffstat (limited to 'recipes/perl/perl-5.8.8')
-rw-r--r-- | recipes/perl/perl-5.8.8/shared-ldflags.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/perl/perl-5.8.8/shared-ldflags.patch b/recipes/perl/perl-5.8.8/shared-ldflags.patch new file mode 100644 index 0000000000..b872dc919c --- /dev/null +++ b/recipes/perl/perl-5.8.8/shared-ldflags.patch @@ -0,0 +1,11 @@ +diff -urN perl-5.8.8.orig/Cross/generate_config_sh perl-5.8.8/Cross/generate_config_sh +--- perl-5.8.8.orig/Cross/generate_config_sh 2003-09-05 08:31:08.000000000 +0000 ++++ perl-5.8.8/Cross/generate_config_sh 2009-04-02 14:59:56.000000000 +0000 +@@ -30,6 +30,7 @@ + $callbacks->{'cppstdin'} = [\&simple_process_append, ["CC", "arm-linux-gcc -E", "-E"]]; + $callbacks->{'full_ar'} = [\&backtick, ["AR", "which $ENV{AR}", "/usr/local/arm/2.95.3/bin/arm-linux-ar"]]; + $callbacks->{'ld'} = [\&simple_process, ["LD", "arm-linux-ld"]]; ++$callbacks->{'lddlflags'} = [\&simple_process, ["LDDLFLAGS", ""]]; + $callbacks->{'ldflags'} = [\&simple_process, ["LDFLAGS", ""]]; + $callbacks->{'ldflags_uselargefiles'} = [\&simple_process, ["LDFLAGS", ""]]; + $callbacks->{'myarchname'} = [\&simple_process, ["SYS", "armv4l-linux"]]; |