Skip to content

Commit 587c74a

Browse files
author
Tor Didriksen
committed
Bug#36111629 Do not build binaries using -g1 flag
Additional patch, removing MINIMAL_RELWITHDEBINFO from the RPM spec. Change-Id: I40a76fcd1c3228ff41a68c6d4954ce6cd63319ad (cherry picked from commit 024bcc74e66487ece2cd5f1d3ef96ce7f5d62598) (cherry picked from commit 272396d75912612b2fce880512a33d46990b11da)
1 parent 37076bd commit 587c74a

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
@@ -65,9 +65,6 @@
6565
%{?with_openssl11: %global ssl_option -DWITH_SSL=openssl11}
6666
%{?with_openssl11: %global ssl_default 0}
6767

68-
# Tell build not to use minimal debug
69-
%{?full_debug: %global no_mini_debug 1}
70-
7168
# Regression tests may take a long time, override the default to skip them
7269
%{!?runselftest:%global runselftest 0}
7370

@@ -88,10 +85,6 @@
8885
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
8986
# - Ship debuginfo for community
9087
%if 0%{?commercial}
91-
%if 0%{?no_mini_debug}
92-
%else
93-
%global mini_debug_option -DMINIMAL_RELWITHDEBINFO=1
94-
%endif # no_mini_debug
9588
%else
9689
%global with_debuginfo 1
9790
%endif # commercial
@@ -920,7 +913,6 @@ mkdir debug
920913
%{?aws_sdk_option} \
921914
%endif
922915
%{?ssl_option} \
923-
%{?mini_debug_option} \
924916
-DWITH_INNODB_MEMCACHED=1 \
925917
-DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
926918
-DMYSQLX_UNIX_ADDR="/var/run/mysqld/mysqlx.sock" \
@@ -978,7 +970,6 @@ mkdir release
978970
%{?aws_sdk_option} \
979971
%endif
980972
%{?ssl_option} \
981-
%{?mini_debug_option} \
982973
-DWITH_INNODB_MEMCACHED=1 \
983974
-DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
984975
-DMYSQLX_UNIX_ADDR="/var/run/mysqld/mysqlx.sock" \
@@ -1042,7 +1033,6 @@ mkdir release
10421033
%{?aws_sdk_option} \
10431034
%endif
10441035
%{?ssl_option} \
1045-
%{?mini_debug_option} \
10461036
-DWITH_INNODB_MEMCACHED=1 \
10471037
-DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
10481038
-DMYSQLX_UNIX_ADDR="/var/run/mysqld/mysqlx.sock" \

0 commit comments

Comments
 (0)