builtin: fix compilation with `-gc boehm` on some FreeBSD versions (#12289)
parent
45c1c1ab41
commit
cc2847f6ff
|
@ -1,6 +1,17 @@
|
||||||
module builtin
|
module builtin
|
||||||
|
|
||||||
|
$if freebsd {
|
||||||
|
// Tested on FreeBSD 13.0-RELEASE-p3, with clang, gcc and tcc:
|
||||||
|
#flag -DBUS_PAGE_FAULT=T_PAGEFLT
|
||||||
|
$if !tinyc {
|
||||||
#flag -DGC_THREADS=1
|
#flag -DGC_THREADS=1
|
||||||
|
#flag -DGC_BUILTIN_ATOMIC=1
|
||||||
|
#flag @VEXEROOT/thirdparty/libgc/gc.o
|
||||||
|
#flag -lpthread
|
||||||
|
}
|
||||||
|
} $else {
|
||||||
|
#flag -DGC_THREADS=1
|
||||||
|
}
|
||||||
|
|
||||||
$if static_boehm ? {
|
$if static_boehm ? {
|
||||||
$if macos {
|
$if macos {
|
||||||
|
|
Loading…
Reference in New Issue