Compile perl module with -O2 optimalization
This commit is contained in:
parent
42bea43805
commit
9ab1ebc738
25
0005-Compile-perl-module-with-O2.patch
Normal file
25
0005-Compile-perl-module-with-O2.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 1d10021f057d2047a044078a6af8e27af790ddec Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Lubo=C5=A1=20Uhliarik?= <luhliari@redhat.com>
|
||||||
|
Date: Wed, 31 Jul 2024 17:47:10 +0200
|
||||||
|
Subject: [PATCH] Compile perl module with O2
|
||||||
|
|
||||||
|
---
|
||||||
|
src/http/modules/perl/Makefile.PL | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/http/modules/perl/Makefile.PL b/src/http/modules/perl/Makefile.PL
|
||||||
|
index 7edadcb..2ebb7c4 100644
|
||||||
|
--- a/src/http/modules/perl/Makefile.PL
|
||||||
|
+++ b/src/http/modules/perl/Makefile.PL
|
||||||
|
@@ -14,7 +14,7 @@ WriteMakefile(
|
||||||
|
AUTHOR => 'Igor Sysoev',
|
||||||
|
|
||||||
|
CCFLAGS => "$ENV{NGX_PM_CFLAGS}",
|
||||||
|
- OPTIMIZE => '-O',
|
||||||
|
+ OPTIMIZE => '-O2',
|
||||||
|
|
||||||
|
LDDLFLAGS => "$ENV{NGX_PM_LDFLAGS}",
|
||||||
|
|
||||||
|
--
|
||||||
|
2.44.0
|
||||||
|
|
@ -103,6 +103,9 @@ Patch2: 0003-Add-SSL-passphrase-dialog.patch
|
|||||||
# downstream patch - Disable ENGINE support by default for F41+
|
# downstream patch - Disable ENGINE support by default for F41+
|
||||||
Patch3: 0004-Disable-ENGINE-support.patch
|
Patch3: 0004-Disable-ENGINE-support.patch
|
||||||
|
|
||||||
|
# downstream patch - Compile perl module with O2
|
||||||
|
Patch4: 0005-Compile-perl-module-with-O2.patch
|
||||||
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gnupg2
|
BuildRequires: gnupg2
|
||||||
|
Loading…
Reference in New Issue
Block a user