Skip to content

Commit 3ea1d60

Browse files
committed
Merge branch 'mysql-8.4' into mysql-trunk
Change-Id: I5d85dc2a19974754942ede988f6d1e18362a5360
2 parents 4b9401f + d09449f commit 3ea1d60

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packaging/rpm-fedora/mysql.spec.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ mkdir debug
547547
(
548548
cd debug
549549
# Attempt to remove any optimisation flags from the debug build
550-
optflags=$(echo "%{optflags}" | sed -e 's/-O2 / /' -e 's/-Wp,-D_FORTIFY_SOURCE=2/ /' -e 's/%{_lto_cflags}/ /')
550+
optflags=$(echo "%{optflags}" | sed -e 's/-O2 / /' -e 's/-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=[0-9]/ /' -e 's/%{_lto_cflags}/ /')
551551
cmake ../%{src_dir} \
552552
-DBUILD_CONFIG=mysql_release \
553553
-DINSTALL_LAYOUT=RPM \
@@ -572,7 +572,7 @@ mkdir debug
572572
-DCOMPILATION_COMMENT="%{compilation_comment_debug}" \
573573
-DCOMPILATION_COMMENT_SERVER="%{compilation_comment_server_debug}" \
574574
-DMYSQL_SERVER_SUFFIX="%{?server_suffix}"
575-
echo BEGIN_DEBUG_CONFIG ; egrep '^#define' include/my_config.h ; echo END_DEBUG_CONFIG
575+
echo BEGIN_DEBUG_CONFIG ; grep -E '^#define' include/my_config.h ; echo END_DEBUG_CONFIG
576576
make %{?_smp_mflags} VERBOSE=1
577577
)
578578

@@ -603,7 +603,7 @@ mkdir release
603603
-DCOMPILATION_COMMENT="%{compilation_comment_release}" \
604604
-DCOMPILATION_COMMENT_SERVER="%{compilation_comment_server_release}" \
605605
-DMYSQL_SERVER_SUFFIX="%{?server_suffix}"
606-
echo BEGIN_NORMAL_CONFIG ; egrep '^#define' include/my_config.h ; echo END_NORMAL_CONFIG
606+
echo BEGIN_NORMAL_CONFIG ; grep -E '^#define' include/my_config.h ; echo END_NORMAL_CONFIG
607607
make %{?_smp_mflags} VERBOSE=1
608608
)
609609

0 commit comments

Comments
 (0)