forked from lda/telodendria
Update changelog, add LD_EXTRA variable in td.
This commit is contained in:
parent
459b2e856f
commit
fdcf7ec065
2 changed files with 16 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
.Dd $Mdocdate: April 24 2023 $
|
.Dd $Mdocdate: April 26 2023 $
|
||||||
.Dt TELODENDRIA-CHANGELOG 7
|
.Dt TELODENDRIA-CHANGELOG 7
|
||||||
.Os Telodendria Project
|
.Os Telodendria Project
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -53,6 +53,10 @@ Added support for the
|
||||||
.Pa /_matrix/client/v3/profile/*
|
.Pa /_matrix/client/v3/profile/*
|
||||||
endpoints.
|
endpoints.
|
||||||
.It
|
.It
|
||||||
|
Added support for the
|
||||||
|
.Pa /_matrix/client/v3/capabilities
|
||||||
|
endpoint.
|
||||||
|
.It
|
||||||
Added support for token-based user registration. Note that there is
|
Added support for token-based user registration. Note that there is
|
||||||
as of yet no admin-facing way to create these registration tokens,
|
as of yet no admin-facing way to create these registration tokens,
|
||||||
but the APIs are in place.
|
but the APIs are in place.
|
||||||
|
@ -244,8 +248,12 @@ now shuts down cleanly in response to SIGTERM.
|
||||||
Did some general refactoring to make the source code more
|
Did some general refactoring to make the source code more
|
||||||
readable and easier to maintain.
|
readable and easier to maintain.
|
||||||
.It
|
.It
|
||||||
Fixed a number of memory-related issues.
|
Fixed a number of memory-related issues, including switching out
|
||||||
|
some unsafe functions for safer versions, per the recommendations
|
||||||
|
of the OpenBSD linker.
|
||||||
.El
|
.El
|
||||||
|
.Pp
|
||||||
|
\&... And many more!
|
||||||
.Sh v0.2.1
|
.Sh v0.2.1
|
||||||
.Pp
|
.Pp
|
||||||
Monday, March 6, 2023
|
Monday, March 6, 2023
|
||||||
|
|
|
@ -25,9 +25,10 @@
|
||||||
: "${DEFINES:=-D_DEFAULT_SOURCE -DTELODENDRIA_VERSION=\"${TELODENDRIA_VERSION}-$(uname)\"}"
|
: "${DEFINES:=-D_DEFAULT_SOURCE -DTELODENDRIA_VERSION=\"${TELODENDRIA_VERSION}-$(uname)\"}"
|
||||||
|
|
||||||
: "${CC:=cc}"
|
: "${CC:=cc}"
|
||||||
: "${CFLAGS:=-Wall -Wextra -pedantic -ansi -O3 -pipe}"
|
: "${CFLAGS:=-Wall -Wextra -pedantic -std=c89 -O3 -pipe}"
|
||||||
: "${STATIC:=-static -Wl,-static}"
|
: "${STATIC:=-static -Wl,-static}"
|
||||||
: "${LDFLAGS:=-lm -pthread -flto -fdata-sections -ffunction-sections -s -Wl,-gc-sections}"
|
: "${LD_EXTRA:=-flto -fdata-sections -ffunction-sections -s -Wl,-gc-sections}"
|
||||||
|
: "${LDFLAGS:=-lm -pthread}"
|
||||||
: "${PROG:=telodendria}"
|
: "${PROG:=telodendria}"
|
||||||
|
|
||||||
. "$(pwd)/tools/lib/common.sh"
|
. "$(pwd)/tools/lib/common.sh"
|
||||||
|
@ -59,8 +60,10 @@ MAIN="Main"
|
||||||
|
|
||||||
if [ "$DEBUG" = "1" ]; then
|
if [ "$DEBUG" = "1" ]; then
|
||||||
CFLAGS="$CFLAGS -O0 -g"
|
CFLAGS="$CFLAGS -O0 -g"
|
||||||
LDFLAGS="-lm -pthread ${TLS_LIBS}"
|
LDFLAGS="${LDFLAGS} ${TLS_LIBS}"
|
||||||
PROG="$PROG-debug"
|
PROG="$PROG-debug"
|
||||||
|
else
|
||||||
|
LDFLAGS="${LDFLAGS} ${LD_EXTRA} ${TLS_LIBS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check the modificiation time of a file. This is used to do
|
# Check the modificiation time of a file. This is used to do
|
||||||
|
|
Loading…
Reference in a new issue