Commit Graph

4 Commits (master)

Author SHA1 Message Date
Anders Damsgaard e56e6e57aa Makefile: do not hardcode optimization and linker flags
Adhere to git://bitreich.org/bitreich-style/c/makefile-guideline.txt

71 * $CFLAGS: do not hard-code optimization flags like (-O2) or diagnostic flags
72   such as -Wall, -Wextra, -pedantic. Even more importantly, do not
73   specify unportable compiler flags.
74
75 * $LDFLAGS: do not hard-code linker flags like -s (symbol stripping) or -g,
76   -static or such flags.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
2021-06-14 12:31:37 +02:00
parazyd d56297fed5 Implement strlcpy to avoid entire libbsd dependency on Linux.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-05-05 12:53:09 +02:00
Christoph Lohmann e1ccb875a3 Add Linux glibc way of things. 2020-04-29 19:11:34 +02:00
Christoph Lohmann a424583e26 Add config.mk. 2020-04-29 16:37:20 +02:00