1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

- removed unused CC and CXX variables

- CFLAGS and CXXFLAGS should honor RPM_OPT_FLAGS
This commit is contained in:
lenz@mysql.com
2003-01-27 20:55:03 +01:00
parent 826993bba2
commit 493e391182

View File

@@ -193,11 +193,9 @@ client/server version.
BuildMySQL() { BuildMySQL() {
# The --enable-assembler simply does nothing on systems that does not # The --enable-assembler simply does nothing on systems that does not
# support assembler speedups. # support assembler speedups.
sh -c "PATH=\"${MYSQL_BUILD_PATH:-/bin:/usr/bin}\" \ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
CC=\"${MYSQL_BUILD_CC:-gcc}\" \ CFLAGS=\"${MYSQL_BUILD_CFLAGS:-$RPM_OPT_FLAGS}\" \
CFLAGS=\"${MYSQL_BUILD_CFLAGS:- -O3}\" \ CXXFLAGS=\"${MYSQL_BUILD_CXXFLAGS:-$RPM_OPT_FLAGS \
CXX=\"${MYSQL_BUILD_CXX:-gcc}\" \
CXXFLAGS=\"${MYSQL_BUILD_CXXFLAGS:- -O3 \
-felide-constructors -fno-exceptions -fno-rtti \ -felide-constructors -fno-exceptions -fno-rtti \
}\" \ }\" \
./configure \ ./configure \
@@ -531,6 +529,11 @@ fi
%changelog %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> * Fri Jan 24 2003 Lenz Grimmer <lenz@mysql.com>
- renamed package "MySQL" to "MySQL-server" - renamed package "MySQL" to "MySQL-server"