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