main/openobex: use CMAKE_BUILD_TYPE=MinSizeRel

This commit is contained in:
psykose 2021-12-25 04:11:34 +00:00 committed by Kevin Daudt
parent 39a54ac9ac
commit ef8acca4e9

View File

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openobex
pkgver=1.7.2
pkgrel=2
pkgrel=3
pkgdesc="Implementation of the OBject EXchange (OBEX) protocol"
url="http://dev.zuckschwerdt.org/openobex/"
arch="all"
@ -19,7 +19,7 @@ build() {
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_SKIP_RPATH=ON \
|| return 1
make && make openobex-apps || return 1