diff options
Diffstat (limited to 'main/clang')
-rw-r--r-- | main/clang/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/main/clang/APKBUILD b/main/clang/APKBUILD index f08bb9b239..f56e6e3b9e 100644 --- a/main/clang/APKBUILD +++ b/main/clang/APKBUILD @@ -46,9 +46,13 @@ build() { cd "$builddir"/build cmake .. -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 \ -DCMAKE_VERBOSE_MAKEFILE=OFF \ + \ -DCLANG_VENDOR=Alpine \ -DCLANG_BUILD_EXAMPLES=OFF \ -DCLANG_INCLUDE_DOCS=ON \ |