Let's not pull in tcmalloc any more
It seems whatever was causing the ridiculous malloc times previously is resolved and was something on our end. Let's stop linking with tcmalloc so we can also get rid of psapi and libstdc++.
This commit is contained in:
parent
3733c996bc
commit
5d9df1ca25
7
Makefile
7
Makefile
@ -99,8 +99,8 @@ krk-%: tools/%.c ${LIBRARY} ${HEADERS}
|
||||
libkuroko.so: ${SOOBJS} ${HEADERS}
|
||||
${CC} ${CFLAGS} ${LDFLAGS} -fPIC -shared -o $@ ${SOOBJS} ${LDLIBS}
|
||||
|
||||
WINLIBS= -l:libwinpthread.a -Wl,--require-defined=tc_malloc libtcmalloc_minimal.a -l:libpsapi.a -l:libstdc++.a
|
||||
libkuroko.dll: ${SOOBJS} ${HEADERS} libtcmalloc_minimal.a
|
||||
WINLIBS= -l:libwinpthread.a
|
||||
libkuroko.dll: ${SOOBJS} ${HEADERS}
|
||||
${CC} ${CFLAGS} ${LDFLAGS} -fPIC -shared -o $@ ${SOOBJS} ${WINLIBS} -Wl,--export-all-symbols,--out-implib,libkuroko.a
|
||||
|
||||
libkuroko.a: ${OBJS}
|
||||
@ -133,9 +133,6 @@ clean:
|
||||
tags: $(wildcard src/*.c) $(wildcard src/*.h)
|
||||
@ctags --c-kinds=+lx src/*.c src/*.h src/kuroko/*.h src/vendor/*.h
|
||||
|
||||
libtcmalloc_minimal.a:
|
||||
curl -O https://klange.dev/libtcmalloc_minimal.a
|
||||
|
||||
# Test targets run against all .krk files in the test/ directory, writing
|
||||
# stdout to `.expect` files, and then comparing with `git`.
|
||||
# To update the tests if changes are expected, run `make test` and commit the result.
|
||||
|
Loading…
Reference in New Issue
Block a user