diff options
author | unknown <lenz@mysql.com> | 2003-01-27 20:55:03 +0100 |
---|---|---|
committer | unknown <lenz@mysql.com> | 2003-01-27 20:55:03 +0100 |
commit | 3967668e6bdd455676b3a5cb9adb5dbbc5a538aa (patch) | |
tree | dce7d1483c5fce08368d81f1f4998749dd3b1644 /support-files | |
parent | 6958e3289dc956fbe660ce89bf41cb748fbc652f (diff) | |
download | mariadb-git-3967668e6bdd455676b3a5cb9adb5dbbc5a538aa.tar.gz |
- removed unused CC and CXX variables
- CFLAGS and CXXFLAGS should honor RPM_OPT_FLAGS
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/mysql.spec.sh | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh index ed3528a081b..040bbbae306 100644 --- a/support-files/mysql.spec.sh +++ b/support-files/mysql.spec.sh @@ -193,11 +193,9 @@ client/server version. BuildMySQL() { # The --enable-assembler simply does nothing on systems that does not # support assembler speedups. -sh -c "PATH=\"${MYSQL_BUILD_PATH:-/bin:/usr/bin}\" \ - CC=\"${MYSQL_BUILD_CC:-gcc}\" \ - CFLAGS=\"${MYSQL_BUILD_CFLAGS:- -O3}\" \ - CXX=\"${MYSQL_BUILD_CXX:-gcc}\" \ - CXXFLAGS=\"${MYSQL_BUILD_CXXFLAGS:- -O3 \ +sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \ + CFLAGS=\"${MYSQL_BUILD_CFLAGS:-$RPM_OPT_FLAGS}\" \ + CXXFLAGS=\"${MYSQL_BUILD_CXXFLAGS:-$RPM_OPT_FLAGS \ -felide-constructors -fno-exceptions -fno-rtti \ }\" \ ./configure \ @@ -531,6 +529,11 @@ fi %changelog +* Mon Jan 27 2003 Lenz Grimmer <lenz@mysql.com> + +- removed unused CC and CXX variables +- CFLAGS and CXXFLAGS should honor RPM_OPT_FLAGS + * Fri Jan 24 2003 Lenz Grimmer <lenz@mysql.com> - renamed package "MySQL" to "MySQL-server" |