Subject: | Please review long standing Debian patch |
This perl module has had its Makefile patched on Debian since 2004. I am
not entirely clear that this is a Debian specific problem and I am
forwarding it upstream for review.
The report is http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=229396.
The patch is attached.
Subject: | 01_Makefile.PL-remove-unneeded-objects.patch |
Author: Elie Rosenblum <fnord@debian.org>
Description: Remove Makefile.PL code to compile some stuff without -fPIC
Bug: #229396
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -102,14 +102,6 @@
"
}
- # objects that must not be compiled with the CCCDL arguments
-
- if (defined $extraobj) {
- ($extrac = $extraobj) =~ s/\.o(\s+|$)/.c/g;
- $ret .= "\n$extraobj :\n\t".
- '$(CC) -c $(INC) $(CCFLAGS) $(OPTIMIZE) '."$extrac\n\n";
- }
-
# extract objects from a library to link them in statically
# for lame OSes that have problems with LD_PATH recording in DLOs