mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
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:
parent
53b9f83e1c
commit
10aade69e3
8 changed files with 257 additions and 1306 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue