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:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user