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:
parent
5dc6e7a7aa
commit
14a948d75d
@ -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 .
|
||||
}
|
||||
|
||||
|
@ -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 .
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user