675c6e
diff --git a/src/http/modules/perl/Makefile.PL b/src/http/modules/perl/Makefile.PL
675c6e
index 7edadcb..2ebb7c4 100644
675c6e
--- a/src/http/modules/perl/Makefile.PL
675c6e
+++ b/src/http/modules/perl/Makefile.PL
675c6e
@@ -14,7 +14,7 @@ WriteMakefile(
675c6e
     AUTHOR            => 'Igor Sysoev',
675c6e
 
675c6e
     CCFLAGS           => "$ENV{NGX_PM_CFLAGS}",
675c6e
-    OPTIMIZE          => '-O',
675c6e
+    OPTIMIZE          => '-O2',
675c6e
 
675c6e
     LDDLFLAGS         => "$ENV{NGX_PM_LDFLAGS}",
675c6e