Commit 0145b008 authored by Jonathan Perkin's avatar Jonathan Perkin

Must specify -DDCMAKE_BUILD_TYPE=RelWithDebInfo now that compiler

flags are being used correctly.
parent 483a5b24
......@@ -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
)
......
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