diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2017-05-25 08:58:51 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-06-05 03:28:10 -0400 |
commit | d8633a32f2a466e8f03f6f06dab237ff4a1e95f2 (patch) | |
tree | aa232ce3b045e61482acb3e858fa0b2d6db22452 /tools/lib | |
parent | e3addcc087d1ca398afbdefa3e671d580b026a71 (diff) |
tools/lib/lockdep: Use LDFLAGS
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: a.p.zijlstra@chello.nl
Link: http://lkml.kernel.org/r/20170525130005.5947-16-alexander.levin@verizon.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/lockdep/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/lockdep/Makefile b/tools/lib/lockdep/Makefile index ce21b9429314..ed9ace59d112 100644 --- a/tools/lib/lockdep/Makefile +++ b/tools/lib/lockdep/Makefile | |||
@@ -101,7 +101,7 @@ include $(srctree)/tools/build/Makefile.include | |||
101 | 101 | ||
102 | do_compile_shared_library = \ | 102 | do_compile_shared_library = \ |
103 | ($(print_shared_lib_compile) \ | 103 | ($(print_shared_lib_compile) \ |
104 | $(CC) --shared $^ -o $@ -lpthread -ldl -Wl,-soname='$(@F)';$(shell ln -sf $(@F) $(@D)/liblockdep.so)) | 104 | $(CC) $(LDFLAGS) --shared $^ -o $@ -lpthread -ldl -Wl,-soname='$(@F)';$(shell ln -sf $(@F) $(@D)/liblockdep.so)) |
105 | 105 | ||
106 | do_build_static_lib = \ | 106 | do_build_static_lib = \ |
107 | ($(print_static_lib_build) \ | 107 | ($(print_static_lib_build) \ |