diff options
author | pommicket <pommicket@gmail.com> | 2025-09-01 13:14:04 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-09-01 13:14:25 -0400 |
commit | c2aba1197aeb5c602ad36820c9b6f3109b51993c (patch) | |
tree | 72b8ab937f9fd01eae83865e03e8ff182e2dd214 /Makefile | |
parent | 162129ec536957ba508788f15b09afc8a875553e (diff) |
Recover memory when line/buffer is shortened
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -46,8 +46,10 @@ install: release install ted $(INSTALL_BIN_DIR) pcre-lib: @if [ '(' '!' -f libpcre2-32.a ')' -o '(' '!' -f libpcre2-8.a ')' ]; then \ - cd pcre2 && cmake -DPCRE2_BUILD_PCRE2_32=ON . && $(MAKE) -j8 && \ - cp libpcre2-32.a libpcre2-8.a ../ ; \ + mkdir pcre2/build && cd pcre2/build && \ + cmake -DCMAKE_BUILD_TYPE=Release -DPCRE2_BUILD_PCRE2_32=ON .. && \ + $(MAKE) -j8 && \ + cp libpcre2-32.a libpcre2-8.a ../../ ; \ fi keywords.h: keywords.py python3 keywords.py |