mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +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
|
continue
|
||||||
fi
|
fi
|
||||||
if [ x"$x" = x"-" ] || # is an argument
|
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
|
GOT_SOME=1
|
||||||
elif [ x"$x" = x"-static-libstdc++" ]; then
|
elif [ x"$x" = x"-static-libstdc++" ]; then
|
||||||
continue
|
continue
|
||||||
|
|
|
@ -385,6 +385,7 @@ privileged long kloghandle(void) {
|
||||||
return __klog_handle;
|
return __klog_handle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __x86_64__
|
||||||
privileged void _klog_serial(const char *b, size_t n) {
|
privileged void _klog_serial(const char *b, size_t n) {
|
||||||
size_t i;
|
size_t i;
|
||||||
uint16_t dx;
|
uint16_t dx;
|
||||||
|
@ -402,6 +403,7 @@ privileged void _klog_serial(const char *b, size_t n) {
|
||||||
: "a"(b[i]), "dN"(dx));
|
: "a"(b[i]), "dN"(dx));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif /* __x86_64__ */
|
||||||
|
|
||||||
privileged void klog(const char *b, size_t n) {
|
privileged void klog(const char *b, size_t n) {
|
||||||
#ifdef __x86_64__
|
#ifdef __x86_64__
|
||||||
|
|
Loading…
Reference in a new issue