Initial commit: Klammertext source distribution
Curated source subset assembled by klammertext-dev's doc/make_dist.sh: the Klammermachine (mac), the Standard Klammer Set (sks), the commands (com), editor plugins and install guides (doc), a test subset (tst), and lib/bin placeholders. Builds with 'make -C com'. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
16
mac/env/optimize.env
vendored
Normal file
16
mac/env/optimize.env
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
ifdef OPTIMIZE
|
||||
# Performance build: make OPTIMIZE=1
|
||||
# `override` so a command-line `make OPTIMIZE=1` is remapped to -O3 too;
|
||||
# without it, a command-line assignment wins over this `:=` and the literal
|
||||
# `1` leaks into CXXFLAGS (g++ then treats `1` as an input file).
|
||||
override OPTIMIZE := -O3
|
||||
SANITIZE :=
|
||||
else ifdef NOPYTHON
|
||||
OPTIMIZE := -O0 -g -DNOPYTHON
|
||||
SANITIZE :=
|
||||
else
|
||||
# Debug build (default): includes AddressSanitizer
|
||||
OPTIMIZE := -O0 -g
|
||||
SANITIZE := -fsanitize=address -fno-omit-frame-pointer
|
||||
endif
|
||||
Reference in New Issue
Block a user