diff options
author | Zoltán Mizsei <zmizsei@extrowerk.com> | 2016-09-25 14:40:30 +0200 |
---|---|---|
committer | Zoltán Mizsei <zmizsei@extrowerk.com> | 2016-09-25 14:40:30 +0200 |
commit | 3813af63f50a1f5a62cba6517fe5b8c2f709656f (patch) | |
tree | fe2f8724f6824cd1b0d621452b0e54313e581faa /config | |
parent | 242af696ddea7e2185ab664299f375ba19d84afc (diff) | |
download | Nim-3813af63f50a1f5a62cba6517fe5b8c2f709656f.tar.gz |
Haiku supporting code in nim.cfg. We don't have -ldl.
Diffstat (limited to 'config')
-rw-r--r-- | config/nim.cfg | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/config/nim.cfg b/config/nim.cfg index 0373de135..8c8270f3e 100644 --- a/config/nim.cfg +++ b/config/nim.cfg @@ -66,7 +66,7 @@ path="$lib/pure" @end @if unix: - @if not bsd: + @if not bsd or haiku: # -fopenmp gcc.options.linker = "-ldl" gcc.cpp.options.linker = "-ldl" @@ -80,6 +80,14 @@ path="$lib/pure" # at least NetBSD has problems with thread local storage: tlsEmulation:on @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 # Configuration for the Intel C/C++ compiler: |