diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-26 21:31:14 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-26 21:31:14 -0400 |
| commit | 1d17a5789050033509dd0be81c52183aee73bd99 (patch) | |
| tree | b12e188f06a8653195ac60a050f3cf996c2737a7 | |
| parent | c8af445d01d66d96b7f364d5ecbd3fe3423a0939 (diff) | |
Don't compile coroutines when using TinyCC
| -rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -193,7 +193,12 @@ install-files: build/bin/tomo build/lib/$(LIB_FILE) build/lib/$(AR_FILE) check-u cp man/man3/* "$(PREFIX)/man/man3/" install-libs: build/bin/tomo check-utilities - ./local-tomo -qIL lib/patterns lib/time lib/commands lib/shell lib/random lib/base64 lib/coroutines lib/pthreads lib/uuid lib/core + # Coroutines don't work with TCC for now + if $(DEFAULT_C_COMPILER) --version | grep -q 'tcc version'; then \ + ./local-tomo -qIL lib/patterns lib/time lib/commands lib/shell lib/random lib/base64 lib/pthreads lib/uuid lib/core; \ + else \ + ./local-tomo -qIL lib/patterns lib/time lib/commands lib/shell lib/random lib/base64 lib/coroutines lib/pthreads lib/uuid lib/core; \ + fi install: install-files install-libs |
