builtin: enforce linking to libgc.a with -prod on macos
parent
1caff5b379
commit
473d26ce47
|
@ -32,7 +32,7 @@ $if dynamic_boehm ? {
|
|||
$if macos || linux {
|
||||
#flag -DGC_PTHREADS=1
|
||||
#flag -I @VEXEROOT/thirdparty/libgc/include
|
||||
$if (prod && !tinyc && !debug) || !(amd64 || arm64 || i386 || arm32) {
|
||||
$if (!macos && prod && !tinyc && !debug) || !(amd64 || arm64 || i386 || arm32) {
|
||||
// TODO: replace the architecture check with a `!$exists("@VEXEROOT/thirdparty/tcc/lib/libgc.a")` comptime call
|
||||
#flag @VEXEROOT/thirdparty/libgc/gc.o
|
||||
} $else {
|
||||
|
|
Loading…
Reference in New Issue