diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-28 18:19:58 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-28 18:19:58 -0400 |
| commit | f5018f9b7b2b3d657af6a20438569332c4b7004f (patch) | |
| tree | cbc0e1cc40ad4a90feb62f67200686a3c3343713 /src/tomo.c | |
| parent | bf9a467fdbab73056759f7f30acedfff4b27fc8b (diff) | |
More flags for just mac
Diffstat (limited to 'src/tomo.c')
| -rw-r--r-- | src/tomo.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -174,6 +174,11 @@ int main(int argc, char *argv[]) " -fno-signaling-nans -fno-trapping-math")); } +#ifdef __APPLE__ + cflags = Texts(cflags, " -I/opt/homebrew/include"); + ldflags = Texts(cflags, " -L/opt/homebrew/lib -Wl,-rpath,/opt/homebrew/lib"); +#endif + if (show_codegen.length > 0 && Text$equal_values(show_codegen, Text("pretty"))) show_codegen = Text("sed '/^#line/d;/^$/d' | indent -o /dev/stdout | bat -l c -P"); |
