mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Fix aarch64 build breakage caused by ed17d3008
This commit is contained in:
parent
a09f62141d
commit
f86ffa1a25
2 changed files with 4 additions and 1 deletions
|
@ -227,7 +227,8 @@ for x; do
|
|||
continue
|
||||
fi
|
||||
if [ x"$x" = x"-" ] || # is an argument
|
||||
[ x"$x" = x"${x#-*}" ]; then # !startswith(x, "-")
|
||||
[ x"$x" = x"${x#-*}" ] || # !startswith(x, "-")
|
||||
[ x"$x" = x"-Wl,--version" ]; then
|
||||
GOT_SOME=1
|
||||
elif [ x"$x" = x"-static-libstdc++" ]; then
|
||||
continue
|
||||
|
|
|
@ -385,6 +385,7 @@ privileged long kloghandle(void) {
|
|||
return __klog_handle;
|
||||
}
|
||||
|
||||
#ifdef __x86_64__
|
||||
privileged void _klog_serial(const char *b, size_t n) {
|
||||
size_t i;
|
||||
uint16_t dx;
|
||||
|
@ -402,6 +403,7 @@ privileged void _klog_serial(const char *b, size_t n) {
|
|||
: "a"(b[i]), "dN"(dx));
|
||||
}
|
||||
}
|
||||
#endif /* __x86_64__ */
|
||||
|
||||
privileged void klog(const char *b, size_t n) {
|
||||
#ifdef __x86_64__
|
||||
|
|
Loading…
Reference in a new issue