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