Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5db310d authored by Andrey Skvortsov's avatar Andrey Skvortsov Committed by Shuah Khan
Browse files

selftests/vm: fix link error for transhuge-stress test



add -lrt to fix undefined reference to `clock_gettime'
error seen when the test is compiled using gcc 4.6.4.

Signed-off-by: default avatarAndrey Skvortsov <andrej.skvortzov@gmail.com>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent 13e634de
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ BINARIES += transhuge-stress

all: $(BINARIES)
%: %.c
	$(CC) $(CFLAGS) -o $@ $^
	$(CC) $(CFLAGS) -o $@ $^ -lrt

run_tests: all
	@/bin/sh ./run_vmtests || (echo "vmtests: [FAIL]"; exit 1)