aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-07-22 14:00:20 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-07-22 14:02:01 +0200
commita98f0428c2ec5fb8e271ff38c9c4ae0e8e1d7ed6 (patch)
tree3c4faef5aa46e89496523788edfd4f4aff4ec68a
parentbde61d489785f82d33050e97dfe7ec6afd7bb16f (diff)
downloadaports-a98f0428c2ec5fb8e271ff38c9c4ae0e8e1d7ed6.tar.bz2
aports-a98f0428c2ec5fb8e271ff38c9c4ae0e8e1d7ed6.tar.xz
community/mbedtls: build as MinSizeRel (implies -Os)
-rw-r--r--community/mbedtls/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/community/mbedtls/APKBUILD b/community/mbedtls/APKBUILD
index a179192fb8..1950367256 100644
--- a/community/mbedtls/APKBUILD
+++ b/community/mbedtls/APKBUILD
@@ -31,8 +31,9 @@ build() {
cd "$builddir"
cmake . \
- -DCMAKE_BUILD_TYPE="Release" \
+ -DCMAKE_BUILD_TYPE="MinSizeRel" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
-DUSE_SHARED_MBEDTLS_LIBRARY=ON
make
}