From c1d079fae39e20ea695f575a221e2251727d07aa Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Tue, 28 May 2019 01:37:41 -0700 Subject: configure: Add some defines necessary for OpenBSD --- configure | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure') diff --git a/configure b/configure index e504bcb..c30d4c3 100755 --- 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" -- cgit v1.2.3