From 14a948d75d2fe6dae4d95afa06f18dbdfb147243 Mon Sep 17 00:00:00 2001 From: patrick96 Date: Sat, 31 Oct 2020 10:30:52 +0100 Subject: [PATCH] aur: Use Release mode in cmake This is already the default but our packaging guidelines recommend this, so we should also follow them. --- contrib/polybar-git.aur/PKGBUILD | 2 +- contrib/polybar.aur/PKGBUILD | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/polybar-git.aur/PKGBUILD b/contrib/polybar-git.aur/PKGBUILD index 24f4baa6..415ea4d1 100644 --- a/contrib/polybar-git.aur/PKGBUILD +++ b/contrib/polybar-git.aur/PKGBUILD @@ -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 . } diff --git a/contrib/polybar.aur/PKGBUILD b/contrib/polybar.aur/PKGBUILD index 5e4d847f..3fff912b 100644 --- a/contrib/polybar.aur/PKGBUILD +++ b/contrib/polybar.aur/PKGBUILD @@ -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 . }