aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lldb
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-05-07 21:40:38 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-05-07 21:45:16 +0200
commitf833bd30376a263fe3e0decd7e7c806174f8a396 (patch)
tree38fa9666104f13da4ddeeb3c9dae9b1966f439af /testing/lldb
parent6f67bc92d117872255ea28559a1c4cded72757d1 (diff)
downloadaports-f833bd30376a263fe3e0decd7e7c806174f8a396.tar.bz2
aports-f833bd30376a263fe3e0decd7e7c806174f8a396.tar.xz
testing/lldb: build w/ profile MinSizeRel for consistency with others
Diffstat (limited to 'testing/lldb')
-rw-r--r--testing/lldb/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/lldb/APKBUILD b/testing/lldb/APKBUILD
index 6a734ed6ab..67e1e0d09b 100644
--- a/testing/lldb/APKBUILD
+++ b/testing/lldb/APKBUILD
@@ -37,7 +37,10 @@ build() {
cd "$builddir"/build
CC=clang CXX=clang++ cmake .. -G Ninja -Wno-dev \
- -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_BUILD_TYPE=MinSizeRel \
+ -DCMAKE_C_FLAGS_MINSIZEREL_INIT="$CFLAGS" \
+ -DCMAKE_CXX_FLAGS_MINSIZEREL_INIT="$CXXFLAGS" \
+ -DCMAKE_EXE_LINKER_FLAGS_MINSIZEREL_INIT="$LDFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DLLDB_DISABLE_LIBEDIT=ON \