diff options
Diffstat (limited to 'dev-perl/PDL/files/PDL-2.4.4-PIC.patch')
-rw-r--r-- | dev-perl/PDL/files/PDL-2.4.4-PIC.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-perl/PDL/files/PDL-2.4.4-PIC.patch b/dev-perl/PDL/files/PDL-2.4.4-PIC.patch new file mode 100644 index 000000000000..a0087c9f5edd --- /dev/null +++ b/dev-perl/PDL/files/PDL-2.4.4-PIC.patch @@ -0,0 +1,22 @@ +--- Lib/Minuit/Makefile.PL ++++ Lib/Minuit/Makefile.PL +@@ -149,7 +149,7 @@ + (" + + minuitlib/$_\$(OBJ_EXT): minuitlib/$_.f +- $mycompiler -c $hack_64bit -o minuitlib/$_\$(OBJ_EXT) $mycflags minuitlib/$_.f ++ $mycompiler -c -fPIC -o minuitlib/$_\$(OBJ_EXT) $mycflags minuitlib/$_.f + " )} @minuitfiles; + + if (!defined($PDL::Config{MINUIT_LIB})){ +--- Lib/Slatec/Makefile.PL ++++ Lib/Slatec/Makefile.PL +@@ -136,7 +136,7 @@ + (" + + slatec/$_\$(OBJ_EXT): slatec/$_.f +- $mycompiler -c $hack_64bit -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f ++ $mycompiler -c -fPIC -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f + " )} @slatecfiles; + + } |