diff options
author | Michael Forney <mforney@mforney.org> | 2019-05-28 01:37:41 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-05-28 01:37:41 -0700 |
commit | c1d079fae39e20ea695f575a221e2251727d07aa (patch) | |
tree | d7dd86fa44f9790425bba2a3a64c074351d13f4f | |
parent | 02bb123e98718bb01ea30d44e613a5a4def06f3e (diff) |
configure: Add some defines necessary for OpenBSD
-rwxr-xr-x | configure | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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" |