Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 1 | mariadb: replace the CC with CC_VERSION and CXX with CXX_VERSION |
| 2 | |
| 3 | mysqlbug.sh is a bug report script. It makes a report with the build information, |
| 4 | including gcc version. The CC is the local path of gcc, which is useless for bug |
| 5 | report, and the path may expose private information, so change it to CC_VERSION. |
| 6 | |
| 7 | Upstream-Status: Pending |
| 8 | |
| 9 | Signed-off-by: Yue Tao <Yue.Tao@windriver.com> |
| 10 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> |
| 11 | ================================ |
| 12 | diff --git a/scripts/mysqlbug.sh.old b/scripts/mysqlbug.sh |
| 13 | index e9df210..d4b8d53 100644 |
| 14 | --- a/scripts/mysqlbug.sh.old |
| 15 | +++ b/scripts/mysqlbug.sh |
| 16 | @@ -24,8 +24,8 @@ VERSION="@VERSION@@MYSQL_SERVER_SUFFIX@" |
| 17 | COMPILATION_COMMENT="@COMPILATION_COMMENT@" |
| 18 | BUGmysql="maria-developers@lists.launchpad.net" |
| 19 | # This is set by configure |
| 20 | -COMP_CALL_INFO="CC='@SAVE_CC@' CFLAGS='@SAVE_CFLAGS@' CXX='@SAVE_CXX@' CXXFLAGS='@SAVE_CXXFLAGS@' LDFLAGS='@SAVE_LDFLAGS@' ASFLAGS='@SAVE_ASFLAGS@'" |
| 21 | -COMP_RUN_INFO="CC='@CC@' CFLAGS='@CFLAGS@' CXX='@CXX@' CXXFLAGS='@CXXFLAGS@' LDFLAGS='@LDFLAGS@' ASFLAGS='@ASFLAGS@'" |
| 22 | +COMP_CALL_INFO="CC='@CC_VERSION@' CFLAGS='@SAVE_CFLAGS@' CXX='@CXX_VERSION@' CXXFLAGS='@SAVE_CXXFLAGS@' LDFLAGS='@SAVE_LDFLAGS@' ASFLAGS='@SAVE_ASFLAGS@'" |
| 23 | +COMP_RUN_INFO="CC='@CC_VERSION@' CFLAGS='@CFLAGS@' CXX='@CXX_VERSION@' CXXFLAGS='@CXXFLAGS@' LDFLAGS='@LDFLAGS@' ASFLAGS='@ASFLAGS@'" |
| 24 | CONFIGURE_LINE="@CONF_COMMAND@" |
| 25 | |
| 26 | LIBC_INFO="" |