diff options
-rw-r--r-- | community/editorconfig/APKBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/community/editorconfig/APKBUILD b/community/editorconfig/APKBUILD index ed53ca5094..58ca6c7cb2 100644 --- a/community/editorconfig/APKBUILD +++ b/community/editorconfig/APKBUILD @@ -17,7 +17,10 @@ build() { cd "$builddir" cmake . \ - -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_BUILD_TYPE=MinSizeRel \ + -DCMAKE_C_FLAGS_MINSIZEREL="$CFLAGS" \ + -DCMAKE_CXX_FLAGS_MINSIZEREL="$CXXFLAGS" \ + -DCMAKE_EXE_LINKER_FLAGS_MINSIZEREL="$LDFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DINI_ALLOW_MULTILINE=1 |