projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13e634d
)
selftests/vm: fix link error for transhuge-stress test
author
Andrey Skvortsov
<andrej.skvortzov@gmail.com>
Wed, 7 Jan 2015 18:35:54 +0000
(21:35 +0300)
committer
Shuah Khan
<shuahkh@osg.samsung.com>
Thu, 8 Jan 2015 16:01:00 +0000
(09:01 -0700)
add -lrt to fix undefined reference to `clock_gettime'
error seen when the test is compiled using gcc 4.6.4.
Signed-off-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/vm/Makefile
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/vm/Makefile
b/tools/testing/selftests/vm/Makefile
index 4c4b1f631ecf61f6e3048d746c23be39ea4f2ef9..077828c889f1377886b98c93349919d55ccb57a2 100644
(file)
--- a/
tools/testing/selftests/vm/Makefile
+++ b/
tools/testing/selftests/vm/Makefile
@@
-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)