commit | 58e90cbb9ef402e7107f58a4e38fd4a9e4709bd0 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Oct 18 16:28:54 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Oct 18 16:39:03 2018 +0200 |
tree | f80dd7501abcd992bae3cd05520d2baca27ada74 | |
parent | ac6c8805be9a29cb3c64c2fee6efffae516cf7d8 [diff] |
BUILD: Makefile: add USE_RT to pass -lrt for clock_gettime() and friends Some code will require clock_gettime() which needs -lrt on most Linux distros (those with glibc < 2.17). For this reason, this patch introduces USE_RT to enable -lrt, which is implicitly set for all Linux flavors, since it's harmless to link with it on more recent ones. Those who know they can safely get rid of -lrt can remove it using "USE_RT=".