cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit c1d079fae39e20ea695f575a221e2251727d07aa
parent 02bb123e98718bb01ea30d44e613a5a4def06f3e
Author: Michael Forney <mforney@mforney.org>
Date:   Tue, 28 May 2019 01:37:41 -0700

configure: Add some defines necessary for OpenBSD

Diffstat:
Mconfigure | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/configure b/configure @@ -109,6 +109,13 @@ case "$target" in startfiles='"-l", ":crt0.o", "-l", ":crtbegin.o"' endfiles='"-l", "c", "-l", ":crtend.o"' linkflags='"-L", "/usr/lib",' + defines=' + /* required to prevent libc headers from declaring functions with conflicting linkage */ + "-D", "_ANSI_LIBRARY", + + /* used like attribute after declarator, so _Alignas will not work here */ + "-D", "__aligned(x)=", +' ;; *) fail "unknown target '$target', please create config.h manually"