7cfad5
From 80c0ee172cceaef933ff5a451ec2a16213e03996 Mon Sep 17 00:00:00 2001
7cfad5
From: =?UTF-8?q?Lubo=C5=A1=20Uhliarik?= <luhliari@redhat.com>
7cfad5
Date: Wed, 22 Sep 2021 15:55:39 +0200
7cfad5
Subject: [PATCH] Set proper compiler optimalization level (O2) for perl
7cfad5
 module.
7cfad5
7cfad5
---
7cfad5
 src/http/modules/perl/Makefile.PL | 2 +-
7cfad5
 1 file changed, 1 insertion(+), 1 deletion(-)
7cfad5
7cfad5
diff --git a/src/http/modules/perl/Makefile.PL b/src/http/modules/perl/Makefile.PL
7cfad5
index 7edadcb..2ebb7c4 100644
7cfad5
--- a/src/http/modules/perl/Makefile.PL
7cfad5
+++ b/src/http/modules/perl/Makefile.PL
7cfad5
@@ -14,7 +14,7 @@ WriteMakefile(
7cfad5
     AUTHOR            => 'Igor Sysoev',
7cfad5
 
7cfad5
     CCFLAGS           => "$ENV{NGX_PM_CFLAGS}",
7cfad5
-    OPTIMIZE          => '-O',
7cfad5
+    OPTIMIZE          => '-O2',
7cfad5
 
7cfad5
     LDDLFLAGS         => "$ENV{NGX_PM_LDFLAGS}",
7cfad5
 
7cfad5
-- 
7cfad5
2.31.1
7cfad5