diff options
author | Andrey Makarov <ph.makarov@gmail.com> | 2021-07-06 21:09:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-06 20:09:56 +0200 |
commit | b88496ac67bea92c40cf1d0f3dc55b0fa91550a4 (patch) | |
tree | 964d5ac38d9d69952b91530e029a61e25ed79c98 /tools/niminst | |
parent | 252eea8cae33e486b179398e193aea9459954338 (diff) | |
download | Nim-b88496ac67bea92c40cf1d0f3dc55b0fa91550a4.tar.gz |
fix compilation on Debian 7 (no git -C) (#18427)
* fix compilation on Debian 7 (no git -C) * address review * allow specify branch for testing unmerged csources * temporarily change csources checkout parameters for testing * Update tools/deps.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * fix failure * Update config/build_config.txt * set proper git branch/hash Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
Diffstat (limited to 'tools/niminst')
-rw-r--r-- | tools/niminst/makefile.nimf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/niminst/makefile.nimf b/tools/niminst/makefile.nimf index aff0c5da0..8c40cf50f 100644 --- a/tools/niminst/makefile.nimf +++ b/tools/niminst/makefile.nimf @@ -25,7 +25,8 @@ endif ifeq ($(uos),linux) myos = linux - LDFLAGS += -ldl -lm + # add -lrt to avoid "undefined reference to `clock_gettime'" with glibc<2.17 + LDFLAGS += -ldl -lm -lrt endif ifeq ($(uos),dragonfly) myos = freebsd |