Must specify -DDCMAKE_BUILD_TYPE=RelWithDebInfo now that compiler

flags are being used correctly.
This commit is contained in:
Jonathan Perkin 2010-03-30 11:54:25 +02:00
commit 45b56ba0f2

View file

@ -368,14 +368,15 @@ mkdir debug
-e 's/^ //' \
-e 's/ $//'`
${CMAKE} ../%{src_dir} -DBUILD_CONFIG=mysql_release -DINSTALL_LAYOUT=RPM \
-DCMAKE_BUILD_TYPE=Debug
-DCMAKE_BUILD_TYPE=Debug
make VERBOSE=1 mysqld mysqlserver
)
# Build full release
mkdir release
(
cd release
${CMAKE} ../%{src_dir} -DBUILD_CONFIG=mysql_release -DINSTALL_LAYOUT=RPM
${CMAKE} ../%{src_dir} -DBUILD_CONFIG=mysql_release -DINSTALL_LAYOUT=RPM \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
make VERBOSE=1
)