--- Linux-AIO/Makefile.PL 2005/06/29 15:51:34 1.7 +++ Linux-AIO/Makefile.PL 2005/08/25 06:04:11 1.9 @@ -2,23 +2,23 @@ use Config; -$Config{cppsymbols} =~ /__i386=1/ or print <= 2.4 or print <{CCDLFLAGS}, $mm->{CCCDLFLAGS}, @{$mm->{RESULT}}) { s/\B-f(pic|PIC)\b//g } + + # Put -O at the front so as not to change any existing optimisation level + # Need optimization of some form turned on to inline syscall() so that it + # sets the local errno + $mm->{OPTIMIZE} = '-O ' . $mm->{OPTIMIZE}; } $mm->flush;