diff options
| -rwxr-xr-x | configure | 6 | ||||
| -rw-r--r-- | src/a_embedfilesdir.c | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -57,7 +57,7 @@ test -n "$host" || die "cannot determine host" host_arch= host_os= -host_abi= +host_abi=none host_predefs= echo "host: $host" @@ -123,8 +123,8 @@ case "$host" in DYNAMIC_LINKER=$sysroot/usr/libexec/ld.so ldstartfiles='"-l:crt0.o", "-l:crtbegin.o"' ldendfiles='"-lc", "-l:crtend.o"' - ldstartfiles_pie='"-l:crt0.o", "-l:crtbeginS.o"' - ldendfiles_pie='"-lc", "-l:crtendS.o"' + ldstartfiles_pie="$ldstartfiles" + ldendfiles_pie="$ldendfiles" linkflags='"-L'$sysroot'/usr/lib"' host_predefs=' "_ANSI_LIBRARY", /* works around __only_inline functions in libc headers */ diff --git a/src/a_embedfilesdir.c b/src/a_embedfilesdir.c index c7fd706..da6a9cb 100644 --- a/src/a_embedfilesdir.c +++ b/src/a_embedfilesdir.c @@ -13,7 +13,7 @@ typedef __typeof__((char*)0 - (char*)0) ptrdiff_t;\n\ typedef __typeof__(sizeof 0) size_t;\n\ typedef __typeof__(L'a') wchar_t;\n\ #undef NULL\n\ -#define NULL ((void *)0)\n\ +#define NULL ((void*)0)\n\ #undef offsetof\n\ #define offsetof(type, memb) ((size_t)((char *)&((type *)0)->memb - (char *)0))\n\ ")}, |