diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = crex pkgdesc = Explore, test, and check regular expressions in the terminal pkgver = 0.2.5 - pkgrel = 3 + pkgrel = 4 url = https://octobanana.com/software/crex arch = x86_64 license = MIT @@ -3,7 +3,7 @@ pkgname=crex pkgver=0.2.5 -pkgrel=3 +pkgrel=4 pkgdesc='Explore, test, and check regular expressions in the terminal' arch=('x86_64') url='https://octobanana.com/software/crex' @@ -22,6 +22,9 @@ prepare() { } build() { + # -DNDEBUG prevents (assert) file paths being compiled into the binary + # See: https://wiki.archlinux.org/title/CMake_package_guidelines#CMake_undesired_behaviors + CFLAGS="${CFLAGS} -DNDEBUG" CXXFLAGS="${CXXFLAGS} -DNDEBUG" \ cmake -B build -S "${pkgname}-${pkgver}" \ -DCMAKE_BUILD_TYPE='None' \ -DCMAKE_INSTALL_PREFIX='/usr' \ |