From 376a5aa0185c5aca4c2b1771047d441fd4d17a15 Mon Sep 17 00:00:00 2001 From: Juergen Daubert Date: Fri, 20 Nov 2020 12:03:41 +0100 Subject: [PATCH] uid_wrapper: fix cmake syntax to use our CFLAGS --- uid_wrapper/.signature | 4 ++-- uid_wrapper/Pkgfile | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/uid_wrapper/.signature b/uid_wrapper/.signature index 6e4c1acf0..690983d90 100644 --- a/uid_wrapper/.signature +++ b/uid_wrapper/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/Y5yKriwEbjCm33vhry8pUKY24I22Y3d1rDSePy8viSoomT9OMEThbhhLdi7pN0gxGE1DauSESsDwdQapL06pQo= -SHA256 (Pkgfile) = e435860b9bc9b596bf381981f19975e3039617a4b8fedf9a6ff489426143b74c +RWSE3ohX2g5d/WvxYoFWCMUR80IKo0keroNXLdJtvB653UmVFjj1XuO5qfAhThak0u1otoXi8J9l17KQFGjd00CRc/EvXQ/URwM= +SHA256 (Pkgfile) = e2f087b99ef5f775c8225e1c153c50c16e22b73c382c0449e56027c53705e732 SHA256 (.footprint) = a67d4e4a49796e335fefd4a2a9f91402859622e3610c47d7e0d7aefebc36fd9e SHA256 (uid_wrapper-1.2.8.tar.gz) = 0e6f1e07d8a9c1ac5984bac3c1a9c3d9b1e35b3eb01b9e973dbc2543514b956b diff --git a/uid_wrapper/Pkgfile b/uid_wrapper/Pkgfile index 0e28373d3..aeba50b33 100644 --- a/uid_wrapper/Pkgfile +++ b/uid_wrapper/Pkgfile @@ -9,10 +9,11 @@ release=1 source=(https://ftp.samba.org/pub/cwrap/$name-$version.tar.gz) build() { - cmake -S $name-$version -B build\ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib + cmake -S $name-$version -B build \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_INSTALL_LIBDIR=lib cmake --build build DESTDIR=$PKG cmake --install build }