mirror of
https://github.com/MariaDB/server.git
synced 2026-04-26 18:25:30 +02:00
Must specify -DDCMAKE_BUILD_TYPE=RelWithDebInfo now that compiler
flags are being used correctly.
This commit is contained in:
parent
91cd9e2637
commit
45b56ba0f2
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue