Remove wildcard from Python build config

It's important for build performance to use := rather than = notation so
that $(wildcard foo/*) isn't a lazily evaluated lambda. In the case of
Python where we need a lot of tuning and excludes, it should help to
spell things out a bit more to just not use wildcard for now.
This commit is contained in:
Justine Tunney 2021-08-09 08:59:18 -07:00
parent 53b9f83e1c
commit 10aade69e3
8 changed files with 257 additions and 1306 deletions

View file

@ -4,24 +4,24 @@
if CLANG=$(command -v clang); then
mkdir -p o/$MODE/test/libc/release
$CLANG \
-o o/$MODE/test/libc/release/smokeclang.com.dbg \
-Os \
-Wall \
-Werror \
-static \
-fno-pie \
-nostdlib \
-nostdinc \
-fuse-ld=lld \
-mno-red-zone \
-Wl,-T,o/$MODE/ape/ape.lds \
-include o/cosmopolitan.h \
test/libc/release/smoke.c \
o/$MODE/libc/crt/crt.o \
o/$MODE/ape/ape.o \
$CLANG \
-o o/$MODE/test/libc/release/smokeclang2.com.dbg \
-Os \
-Wall \
-Werror \
-static \
-fno-pie \
-nostdlib \
-nostdinc \
-fuse-ld=lld \
-mno-red-zone \
-Wl,-T,o/$MODE/ape/ape.lds \
-include o/cosmopolitan.h \
test/libc/release/smoke.c \
o/$MODE/libc/crt/crt.o \
o/$MODE/ape/ape.o \
o/$MODE/cosmopolitan.a || exit
o/$MODE/test/libc/release/smokeclang.com.dbg || exit
o/$MODE/test/libc/release/smokeclang2.com.dbg || exit
fi
touch o/$MODE/test/libc/release/clang.ok