mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
net-mail/dovecot-fts-xapian: Allow -O2 to be overriden
Closes: https://bugs.gentoo.org/887887 Signed-off-by: Philippe Chaintreuil <gentoo_bugs_peep@parallaxshift.com>
This commit is contained in:
@@ -24,6 +24,10 @@ RDEPEND="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
${FILESDIR}/bug-887887_allow-O2-override.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
|
||||
@@ -36,6 +36,10 @@ if [ "$PV" = 9999 ] ; then
|
||||
"
|
||||
fi
|
||||
|
||||
PATCHES=(
|
||||
${FILESDIR}/bug-887887_allow-O2-override.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/configure.ac 2022-04-17 07:41:11.000000000 -0400
|
||||
+++ b/configure.ac 2022-12-25 13:24:02.551681208 -0500
|
||||
@@ -21,7 +21,7 @@
|
||||
DC_DOVECOT
|
||||
DC_DOVECOT_MODULEDIR
|
||||
LIBDOVECOT_INCLUDE="$LIBDOVECOT_INCLUDE"
|
||||
-CFLAGS="$CFLAGS $EXTRA_CFLAGS $DOVECOT_FLAGS -O2"
|
||||
+CFLAGS="-O2 $CFLAGS $EXTRA_CFLAGS $DOVECOT_FLAGS"
|
||||
LIBS="$DOVECOT_LIBS"
|
||||
BINARY_LDFLAGS="$PIE_LDFLAGS $RELRO_LDFLAGS"
|
||||
BINARY_CFLAGS="$PIE_CFLAGS"
|
||||
Reference in New Issue
Block a user