diff options
author | lenz@mysql.com <> | 2003-04-07 19:05:00 +0200 |
---|---|---|
committer | lenz@mysql.com <> | 2003-04-07 19:05:00 +0200 |
commit | cc3ddf4b2d206c6389c441a45037ff5bbfc84a2b (patch) | |
tree | 7b96fd933aee7c00b1e9e99d9a278b9045c9294e /Build-tools | |
parent | ae5e85576d5f71b85bca3cfcd02bc646b9035859 (diff) | |
download | mariadb-git-cc3ddf4b2d206c6389c441a45037ff5bbfc84a2b.tar.gz |
- don't add separate debug symbol file to the binary distribution,
if it's built with debugging enabled or not stripped (save disk
space)
Diffstat (limited to 'Build-tools')
-rwxr-xr-x | Build-tools/Do-compile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Build-tools/Do-compile b/Build-tools/Do-compile index add2ac86c81..b83eadcac63 100755 --- a/Build-tools/Do-compile +++ b/Build-tools/Do-compile @@ -276,7 +276,11 @@ if ($opt_stage <= 3) my $flags= ""; log_timestamp(); log_system("rm -fr mysql-3* mysql-4* $pwd/$host/*.tar.gz"); - log_system("nm -n sql/mysqld | gzip -9 -v 2>&1 > sql/mysqld.sym.gz | cat"); + # No need to add the debug symbols, if the binaries are not stripped (saves space) + unless ($opt_with_debug || $opt_no_strip) + { + log_system("nm -n sql/mysqld | gzip -9 -v 2>&1 > sql/mysqld.sym.gz | cat"); + } $flags.= "--no-strip" if ($opt_no_strip || $opt_with_debug); check_system("scripts/make_binary_distribution --tmp=$opt_tmp --suffix=$opt_suffix $flags",".tar.gz created"); |