ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Linux-AIO/Makefile.PL
(Generate patch)

Comparing Linux-AIO/Makefile.PL (file contents):
Revision 1.4 by root, Sun Jul 18 10:56:50 2004 UTC vs.
Revision 1.5 by root, Fri Aug 6 17:18:08 2004 UTC

41 41
42EOF 42EOF
43} 43}
44 44
45# now get rid of -fpic, because gcc can't use syscall'ed closures 45# now get rid of -fpic, because gcc can't use syscall'ed closures
46# from within pic code. 46# from within pic code on x86.
47
48use Config;
49
50if ($Config{archname} =~ /i[x34567]86/) {
47for ($mm->{CCDLFLAGS}, $mm->{CCCDLFLAGS}, @{$mm->{RESULT}}) { 51 for ($mm->{CCDLFLAGS}, $mm->{CCCDLFLAGS}, @{$mm->{RESULT}}) {
48 s/\B-f(pic|PIC)\b//g 52 s/\B-f(pic|PIC)\b//g
53 }
49} 54}
50 55
51$mm->flush; 56$mm->flush;
52 57

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines