Skip to content
Snippets Groups Projects
Commit 13ae10f6 authored by alice's avatar alice Committed by Kevin Daudt
Browse files

main/raspberrypi: use CMAKE_BUILD_TYPE=MinSizeRel

parent e8b3f317
1 merge request!28826main/*: set CMAKE_BUILD_TYPE to MinSizeRel from None
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=raspberrypi
pkgver=0.20200813
pkgrel=0
pkgrel=1
_commit="f73fca015d421b763936667a0b58fe5024d59921"
pkgdesc="Raspberry Pi support tools"
url="https://github.com/raspberrypi/userland"
......@@ -27,7 +27,7 @@ build() {
cmake -B build \
-DCMAKE_C_FLAGS="$CFLAGS -D_GNU_SOURCE" \
-DARM64=$_arm64 \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_RPATH=/opt/vc/lib \
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--no-as-needed"
cmake --build build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment