Commit graph

13 commits

Author SHA1 Message Date
Quentin Rameau
fd3a542c94 Remove a non-portable syntax in Makefile 2017-12-07 19:07:48 +01:00
Hiltjo Posthuma
12069466ff config.mk: remove -lc
Thanks quinq!

POSIX/quinq says:

"In the absence of options that inhibit invocation of the link editor, such as
-c or -E, the c99 utility shall cause the equivalent of a -l c option to be
passed to the link editor after the last pathname operand or -l option, causing
it to be searched after all other object files and libraries are loaded."
2016-07-02 12:44:34 +02:00
Hiltjo Posthuma
aa36e0c9b4 add OpenBSD pledge(2) support using -DUSE_PLEDGE 2016-05-03 00:33:56 +02:00
Hiltjo Posthuma
cd6a519813 Makefile: separate CPPFLAGS, compile optimized build by default 2016-03-20 16:23:33 +01:00
Hiltjo Posthuma
f4f53c577e config.mk: add -D_DEFAULT_SOURCE to commented builds 2016-02-24 14:41:37 +01:00
Quentin Rameau
d8bad43b3c stop glibc complaining about _BSD_SOURCE being deprecated 2016-01-13 21:58:08 +01:00
sin
cae9950407 No need for -D_POSIX_C_SOURCE=200809L
XOPEN is a superset.
2016-01-06 17:19:48 +00:00
sin
bd854ac71f Always use the compat functions 2016-01-06 17:07:47 +00:00
sin
2809fd3795 Bring in reallocarray() from OpenBSD 2016-01-06 17:03:42 +00:00
sin
ee4c340ce6 Change default MANPREFIX to be ${PREFIX}/man 2016-01-06 14:57:54 +00:00
Hiltjo Posthuma
114899a22d rename EXTRAOBJ to COMPATOBJ 2015-12-26 20:11:59 +01:00
Hiltjo Posthuma
55556b66bc compat: add strlcpy, strlcat, for glibc 2015-12-25 17:48:46 +01:00
Hiltjo Posthuma
b069cb6fd5 add Makefile and config.mk 2015-12-05 21:07:52 +01:00