diff options
author | jimw@mysql.com <> | 2005-01-06 19:57:02 +0100 |
---|---|---|
committer | jimw@mysql.com <> | 2005-01-06 19:57:02 +0100 |
commit | 2acb7387842baec2b3171afe7de08e1a52d7e8ce (patch) | |
tree | 109d86f4a6adf86dc49ad054a85e8f9807ecef5a /scripts/mysql_config.sh | |
parent | d14f3d76752f311c6fe81ba808cf1131da517e29 (diff) | |
download | mariadb-git-2acb7387842baec2b3171afe7de08e1a52d7e8ce.tar.gz |
Add comment to make code for option-stripping in mysql_config more clear
Diffstat (limited to 'scripts/mysql_config.sh')
-rw-r--r-- | scripts/mysql_config.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/mysql_config.sh b/scripts/mysql_config.sh index 35ddbcac471..3676e03ab48 100644 --- a/scripts/mysql_config.sh +++ b/scripts/mysql_config.sh @@ -100,6 +100,8 @@ for remove in DDBUG_OFF DSAFEMALLOC USAFEMALLOC DSAFE_MUTEX \ DPEDANTIC_SAFEMALLOC DUNIV_MUST_NOT_INLINE DFORCE_INIT_OF_VARS \ DEXTRA_DEBUG DHAVE_purify 'O[0-9]' 'W[-A-Za-z]*' do + # The first option we might strip will always have a space before it because + # we set -I$pkgincludedir as the first option cflags=`echo "$cflags"|sed -e "s/ -$remove */ /g"` done cflags=`echo "$cflags"|sed -e 's/ *\$//'` |