Skip to content

Commit 38542e9

Browse files
Tor Didriksendahlerlend
authored andcommitted
Bug#36111629 Do not build binaries using -g1 flag
Additional patch, removing MINIMAL_RELWITHDEBINFO from the RPM spec. Change-Id: I40a76fcd1c3228ff41a68c6d4954ce6cd63319ad
1 parent 263c8c5 commit 38542e9

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

packaging/rpm-oel/mysql.spec.in

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@
6868
%{?with_openssl3_fips: %global ssl_option -DWITH_SSL=openssl3-fips}
6969
%{?with_openssl3_fips: %global ssl_default 0}
7070

71-
# Tell build not to use minimal debug
72-
%{?full_debug: %global no_mini_debug 1}
73-
7471
# Regression tests may take a long time, override the default to skip them
7572
%{!?runselftest:%global runselftest 0}
7673

@@ -86,10 +83,6 @@
8683
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
8784
# - Ship debuginfo for community
8885
%if 0%{?commercial}
89-
%if 0%{?no_mini_debug}
90-
%else
91-
%global mini_debug_option -DMINIMAL_RELWITHDEBINFO=1
92-
%endif # no_mini_debug
9386
%else
9487
%global with_debuginfo 1
9588
%endif # commercial
@@ -883,7 +876,6 @@ mkdir debug
883876
%{?aws_sdk_option} \
884877
%endif
885878
%{?ssl_option} \
886-
%{?mini_debug_option} \
887879
-DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
888880
-DMYSQLX_UNIX_ADDR="/var/run/mysqld/mysqlx.sock" \
889881
-DWITH_NUMA=1 \
@@ -931,7 +923,6 @@ mkdir release
931923
%{?aws_sdk_option} \
932924
%endif
933925
%{?ssl_option} \
934-
%{?mini_debug_option} \
935926
-DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
936927
-DMYSQLX_UNIX_ADDR="/var/run/mysqld/mysqlx.sock" \
937928
-DWITH_NUMA=1 \
@@ -987,7 +978,6 @@ mkdir release
987978
%{?aws_sdk_option} \
988979
%endif
989980
%{?ssl_option} \
990-
%{?mini_debug_option} \
991981
-DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
992982
-DMYSQLX_UNIX_ADDR="/var/run/mysqld/mysqlx.sock" \
993983
-DWITH_NUMA=1 \

0 commit comments

Comments
 (0)