1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

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
parent 483a5b249a
commit 0145b00834

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
)