[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-d8633a32f2a466e8f03f6f06dab237ff4a1e95f2@git.kernel.org>
Date: Mon, 5 Jun 2017 02:09:06 -0700
From: tip-bot for Ben Hutchings <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: torvalds@...ux-foundation.org, tglx@...utronix.de,
mingo@...nel.org, hpa@...or.com, peterz@...radead.org,
alexander.levin@...izon.com, ben@...adent.org.uk,
linux-kernel@...r.kernel.org
Subject: [tip:locking/core] tools/lib/lockdep: Use LDFLAGS
Commit-ID: d8633a32f2a466e8f03f6f06dab237ff4a1e95f2
Gitweb: http://git.kernel.org/tip/d8633a32f2a466e8f03f6f06dab237ff4a1e95f2
Author: Ben Hutchings <ben@...adent.org.uk>
AuthorDate: Thu, 25 May 2017 12:58:51 +0000
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Mon, 5 Jun 2017 09:28:10 +0200
tools/lib/lockdep: Use LDFLAGS
Signed-off-by: Ben Hutchings <ben@...adent.org.uk>
Signed-off-by: Sasha Levin <alexander.levin@...izon.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: a.p.zijlstra@...llo.nl
Link: http://lkml.kernel.org/r/20170525130005.5947-16-alexander.levin@verizon.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
tools/lib/lockdep/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/lib/lockdep/Makefile b/tools/lib/lockdep/Makefile
index ce21b94..ed9ace5 100644
--- a/tools/lib/lockdep/Makefile
+++ b/tools/lib/lockdep/Makefile
@@ -101,7 +101,7 @@ include $(srctree)/tools/build/Makefile.include
do_compile_shared_library = \
($(print_shared_lib_compile) \
- $(CC) --shared $^ -o $@ -lpthread -ldl -Wl,-soname='$(@F)';$(shell ln -sf $(@F) $(@D)/liblockdep.so))
+ $(CC) $(LDFLAGS) --shared $^ -o $@ -lpthread -ldl -Wl,-soname='$(@F)';$(shell ln -sf $(@F) $(@D)/liblockdep.so))
do_build_static_lib = \
($(print_static_lib_build) \
Powered by blists - more mailing lists