aur: Use Release mode in cmake

This is already the default but our packaging guidelines recommend this,
so we should also follow them.
This commit is contained in:
patrick96 2020-10-31 10:30:52 +01:00 committed by Patrick Ziegler
parent 5dc6e7a7aa
commit 14a948d75d
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ prepare() {
build() {
cd "${_pkgname}/build" || exit 1
# Force cmake to use system python (to detect xcbgen)
cmake -DCMAKE_INSTALL_PREFIX=/usr -DPYTHON_EXECUTABLE=/usr/bin/python3 ..
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 ..
cmake --build .
}

View File

@ -24,7 +24,7 @@ prepare() {
build() {
cd "${pkgname}/build" || exit 1
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
}