aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
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"