diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eeaad6834..67e6da6e7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,6 +25,6 @@ jobs: # gh-action runners have 2 cpus with 1 thread each - name: make everything - run: make -j2 + run: V=0 make -j2 diff --git a/build/bootstrap/compile.com b/build/bootstrap/compile.com index 4a68b5dbe..9621eafc9 100755 Binary files a/build/bootstrap/compile.com and b/build/bootstrap/compile.com differ diff --git a/examples/pyapp/pyapp.mk b/examples/pyapp/pyapp.mk index 49e88b386..7a9c674a3 100644 --- a/examples/pyapp/pyapp.mk +++ b/examples/pyapp/pyapp.mk @@ -96,7 +96,7 @@ o/$(MODE)/examples/pyapp/pyapp.com.dbg: \ o/$(MODE)/examples/pyapp/pyapp.o \ $(CRT) \ $(APE_NO_MODIFY_SELF) - $(LINK) $(LINKARGS) -o $@ + @$(COMPILE) -ALINK.ape $(LINK) $(LINKARGS) -o $@ # # Unwrap the APE .COM binary, that's embedded within the linked file # # NOTE: This line can be commented out, since it's in build/rules.mk diff --git a/libc/str/strcmp.c b/libc/str/strcmp.c index 96aa0f319..48743cb1a 100644 --- a/libc/str/strcmp.c +++ b/libc/str/strcmp.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/dce.h" #include "libc/str/str.h" static inline noasan uint64_t UncheckedAlignedRead64(const char *p) { @@ -39,7 +40,7 @@ int strcmp(const char *a, const char *b) { uint64_t v, w, d; if (a == b) return 0; if ((c = (*a & 255) - (*b & 255))) return c; - if (((uintptr_t)a & 7) == ((uintptr_t)b & 7)) { + if (!IsTiny() && ((uintptr_t)a & 7) == ((uintptr_t)b & 7)) { for (; (uintptr_t)(a + i) & 7; ++i) { if (a[i] != b[i] || !b[i]) { return (a[i] & 255) - (b[i] & 255); diff --git a/tool/build/compile.c b/tool/build/compile.c index 43229b237..85cdd1cc7 100644 --- a/tool/build/compile.c +++ b/tool/build/compile.c @@ -1179,7 +1179,6 @@ int main(int argc, char *argv[]) { } else { appendd(&output, command, n); } - appendw(&output, '\n'); } else { n = 0; if (verbose >= 3) {