selftests: use LDLIBS for libraries instead of LDFLAGS
[linux-2.6-microblaze.git] / tools / testing / selftests / timens / Makefile
index e9fb30b..b4fd9a9 100644 (file)
@@ -2,6 +2,6 @@ TEST_GEN_PROGS := timens timerfd timer clock_nanosleep procfs exec
 TEST_GEN_PROGS_EXTENDED := gettime_perf
 
 CFLAGS := -Wall -Werror -pthread
-LDFLAGS := -lrt -ldl
+LDLIBS := -lrt -ldl
 
 include ../lib.mk