Fix build issues

This commit is contained in:
Justine Tunney 2024-08-15 18:33:35 -07:00
parent 24666e121d
commit 2045e87b7c
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
3 changed files with 14 additions and 14 deletions

View file

@ -45,10 +45,10 @@ o/$(MODE)/ape: $(APE)
o/$(MODE)/ape/aarch64.lds: \ o/$(MODE)/ape/aarch64.lds: \
ape/aarch64.lds \ ape/aarch64.lds \
libc/zip.internal.h \ libc/zip.h \
libc/thread/tls.h \ libc/thread/tls.h \
libc/calls/struct/timespec.h \ libc/calls/struct/timespec.h \
libc/macros.internal.h \ libc/macros.h \
libc/str/str.h libc/str/str.h
APE_LOADER_LDFLAGS = \ APE_LOADER_LDFLAGS = \
@ -162,8 +162,8 @@ o/$(MODE)/ape/ape-no-modify-self.o: \
libc/dce.h \ libc/dce.h \
libc/elf/def.h \ libc/elf/def.h \
libc/thread/tls.h \ libc/thread/tls.h \
libc/macho.internal.h \ libc/macho.h \
libc/macros.internal.h \ libc/macros.h \
libc/nexgen32e/uart.internal.h \ libc/nexgen32e/uart.internal.h \
libc/calls/metalfile.internal.h \ libc/calls/metalfile.internal.h \
libc/nt/pedef.internal.h \ libc/nt/pedef.internal.h \
@ -188,8 +188,8 @@ o/$(MODE)/ape/ape-copy-self.o: \
libc/dce.h \ libc/dce.h \
libc/elf/def.h \ libc/elf/def.h \
libc/thread/tls.h \ libc/thread/tls.h \
libc/macho.internal.h \ libc/macho.h \
libc/macros.internal.h \ libc/macros.h \
libc/nexgen32e/uart.internal.h \ libc/nexgen32e/uart.internal.h \
libc/calls/metalfile.internal.h \ libc/calls/metalfile.internal.h \
libc/nt/pedef.internal.h \ libc/nt/pedef.internal.h \
@ -259,8 +259,8 @@ o/$(MODE)/ape/ape.o: \
libc/thread/tls.h \ libc/thread/tls.h \
ape/ape.internal.h \ ape/ape.internal.h \
ape/macros.internal.h \ ape/macros.internal.h \
libc/macho.internal.h \ libc/macho.h \
libc/macros.internal.h \ libc/macros.h \
libc/sysv/consts/prot.h \ libc/sysv/consts/prot.h \
libc/nt/pedef.internal.h \ libc/nt/pedef.internal.h \
libc/runtime/pc.internal.h \ libc/runtime/pc.internal.h \
@ -281,7 +281,7 @@ o/$(MODE)/ape/ape.lds: \
libc/dce.h \ libc/dce.h \
libc/elf/def.h \ libc/elf/def.h \
libc/elf/pf2prot.internal.h \ libc/elf/pf2prot.internal.h \
libc/macros.internal.h \ libc/macros.h \
libc/nt/pedef.internal.h \ libc/nt/pedef.internal.h \
libc/str/str.h \ libc/str/str.h \
libc/zip.internal.h libc/zip.h

View file

@ -5,7 +5,7 @@
#define SYSDEBUG 0 #define SYSDEBUG 0
#endif #endif
#define _NTTRACE 1 /* not configurable w/ flag yet */ #define _NTTRACE 0 /* not configurable w/ flag yet */
#define _POLLTRACE 0 /* not configurable w/ flag yet */ #define _POLLTRACE 0 /* not configurable w/ flag yet */
#define _DATATRACE 1 /* not configurable w/ flag yet */ #define _DATATRACE 1 /* not configurable w/ flag yet */
#define _LOCKTRACE 0 /* not configurable w/ flag yet */ #define _LOCKTRACE 0 /* not configurable w/ flag yet */

View file

@ -23,7 +23,7 @@
TEST(ParseAsmdown, test) { TEST(ParseAsmdown, test) {
struct Asmdown *ad; struct Asmdown *ad;
const char *s = "\ const char *s = "\
#include \"libc/macros.internal.h\"\n\ #include \"libc/macros.h\"\n\
.source __FILE__\n\ .source __FILE__\n\
\n\ \n\
/ Returns absolute value of double.\n\ / Returns absolute value of double.\n\
@ -87,7 +87,7 @@ tinymath_acos:\n\
TEST(ParseAsmdown, testAlias) { TEST(ParseAsmdown, testAlias) {
struct Asmdown *ad; struct Asmdown *ad;
const char *s = "\ const char *s = "\
#include \"libc/macros.internal.h\"\n\ #include \"libc/macros.h\"\n\
.source __FILE__\n\ .source __FILE__\n\
\n\ \n\
/ Returns arc cosine of 𝑥.\n\ / Returns arc cosine of 𝑥.\n\
@ -137,7 +137,7 @@ tinymath_acos:\n\
TEST(ParseAsmdown, testClangIsEvil) { TEST(ParseAsmdown, testClangIsEvil) {
struct Asmdown *ad; struct Asmdown *ad;
const char *s = "\ const char *s = "\
#include \"libc/macros.internal.h\"\n\ #include \"libc/macros.h\"\n\
.source __FILE__\n\ .source __FILE__\n\
\n\ \n\
// Returns arc cosine of 𝑥.\n\ // Returns arc cosine of 𝑥.\n\