nss_wrapper: fix cmake syntax to use our CFLAGS
This commit is contained in:
parent
d753394ed7
commit
fa9d25cdd3
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/eFArcNX39VdScrEXmYGfNA0nviyeJJXlaoGC195d3UaPo+mXJUpGfIArTI4De91UeVKUI+gJNCjirdqs4B1TgI=
|
||||
SHA256 (Pkgfile) = 29dbff5e5184eb8402015d8bfcc30e5e0558e318d54b35072e6f43444280f62e
|
||||
RWSE3ohX2g5d/c5XViTkwa1+ivGdAnAP6YBrwjeHC0fYMEJHMkgva0TprpeXT+83odTf4RfjC0nK7mPDJbq06TSzyXbhDg6nagY=
|
||||
SHA256 (Pkgfile) = c6d313ce010f59b3a045ef981c696be6f4507a61ea56d5c9bcc367470c11f57c
|
||||
SHA256 (.footprint) = 6726225314c7024f9f5452e325605803f938f80c481c74ca74bd3fe5510f074a
|
||||
SHA256 (nss_wrapper-1.1.11.tar.gz) = fb45332e7fb4d85d3ea829ed18172366196c17cbd32ef690a7e1309f0c37b4e0
|
||||
|
@ -10,9 +10,10 @@ 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
|
||||
-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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user