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