Merge pull request #4831 from miqlas/Haiku
Haiku supporting code in nim.cfg. We don't have -ldl.
This commit is contained in:
commit
12eb5540f3
1 changed files with 9 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ path="$lib/pure"
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@if unix:
|
@if unix:
|
||||||
@if not bsd:
|
@if not bsd or haiku:
|
||||||
# -fopenmp
|
# -fopenmp
|
||||||
gcc.options.linker = "-ldl"
|
gcc.options.linker = "-ldl"
|
||||||
gcc.cpp.options.linker = "-ldl"
|
gcc.cpp.options.linker = "-ldl"
|
||||||
|
|
@ -80,6 +80,14 @@ path="$lib/pure"
|
||||||
# at least NetBSD has problems with thread local storage:
|
# at least NetBSD has problems with thread local storage:
|
||||||
tlsEmulation:on
|
tlsEmulation:on
|
||||||
@end
|
@end
|
||||||
|
@if haiku:
|
||||||
|
# -fopenmp
|
||||||
|
gcc.options.linker = "-lroot -lnetwork"
|
||||||
|
gcc.cpp.options.linker = "-lroot -lnetwork"
|
||||||
|
clang.options.linker = "-lroot -lnetwork"
|
||||||
|
clang.cpp.options.linker = "-lroot -lnetwork"
|
||||||
|
tcc.options.linker = "-lroot -lnetwork"
|
||||||
|
@end
|
||||||
@end
|
@end
|
||||||
|
|
||||||
# Configuration for the Intel C/C++ compiler:
|
# Configuration for the Intel C/C++ compiler:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue