summaryrefslogtreecommitdiffstats
path: root/bench
diff options
context:
space:
mode:
authorPetr Špaček <petr.spacek@nic.cz>2018-06-28 13:31:51 +0200
committerPetr Špaček <petr.spacek@nic.cz>2018-06-28 13:48:46 +0200
commit8a5c0c2eab5d909938649c1547ab1efd78661e3d (patch)
tree7688cfe3c9111988b48c8b2a8e07bfb57493da94 /bench
parentgitignore: bench/bench_lru (diff)
downloadknot-resolver-8a5c0c2eab5d909938649c1547ab1efd78661e3d.tar.xz
knot-resolver-8a5c0c2eab5d909938649c1547ab1efd78661e3d.zip
tests: fix LD_PRELOAD tricks in Makefile to fix make check
fixup! 0118441e60ca2937790bd65526b2a07edd73b2c4 which broke make check on systemd without libkres in library path.
Diffstat (limited to 'bench')
-rw-r--r--bench/bench.mk7
1 files changed, 0 insertions, 7 deletions
diff --git a/bench/bench.mk b/bench/bench.mk
index dfd06ee7..e85744b5 100644
--- a/bench/bench.mk
+++ b/bench/bench.mk
@@ -5,13 +5,6 @@ bench_BIN := \
bench_DEPEND := $(libkres)
bench_LIBS := $(libkres_TARGET) $(libkres_LIBS)
-# Platform-specific library injection
-ifeq ($(PLATFORM),Darwin)
- preload_syms := DYLD_FORCE_FLAT_NAMESPACE=1 DYLD_LIBRARY_PATH="$(DYLD_LIBRARY_PATH):$(abspath lib)"
-else
- preload_syms := LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):$(abspath lib)"
-endif
-
# Make bench binaries
define make_bench
$(1)_CFLAGS := -fPIE