summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2018-01-14libgcompat: Add and use a macro for defining symbol aliasesSamuel Holland1-0/+4
* Prefer providing the underscore-prefixed symbol as the strong definition. * Do not use a weak alias if the alias is also underscore-prefixed. * Make libgcompat objects depend on the new header. [NOTE: I originally took the weak_alias macro from musl's libc.h, but it's trivial and the same pattern already in use. If desired, I can add the musl copyright notice.] Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-14Add clang-format configuration and Makefile ruleSamuel Holland1-0/+5
The settings here are based on the current code style documentation. Signed-off-by: Samuel Holland <samuel@sholland.org>
2017-10-26Makefile: Ensure correct compilation on GCC 4.xA. Wilcox1-2/+5
On GCC 4.9.4, at least backtrace.c fails to compile because of variable declaration in a for statement, which requires -std=c99 or -std=c11. Since we are using ISO C mode instead of a GNU standard, we additionally must define _BSD_SOURCE to expose Dl_info for the dl code.
2017-10-15ucontext: new moduleA. Wilcox1-0/+1
2017-10-15resolv: new moduleA. Wilcox1-0/+1
2017-09-16Makefile: allow compilation with specified compiler rather than hard-coded gccDaniel James1-3/+3
2017-07-28libgcompat: add getpwent_r() and fgetpwent_r() stubsWilliam Pitcock1-0/+1
2017-06-14add sysctl()William Pitcock1-0/+1
2017-06-14pthread: add __register_atfork() stubWilliam Pitcock1-0/+1
2017-06-14recent musl has pthread_setname_np().William Pitcock1-1/+0
2017-06-14build system: add install target, fix loader build rulesWilliam Pitcock1-2/+6
2017-06-14add MakefileWilliam Pitcock1-0/+38