Commit 493e3911 authored by lenz@mysql.com's avatar lenz@mysql.com

- removed unused CC and CXX variables

 - CFLAGS and CXXFLAGS should honor RPM_OPT_FLAGS
parent 826993bb
...@@ -193,11 +193,9 @@ client/server version. ...@@ -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 ...@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment