linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] libtraceevent: Makefile - set LIBS as conditional assignment
@ 2022-08-10 23:55 John 'Warthog9' Hawley (VMware)
  2022-09-08 22:15 ` Steven Rostedt
  0 siblings, 1 reply; 2+ messages in thread
From: John 'Warthog9' Hawley (VMware) @ 2022-08-10 23:55 UTC (permalink / raw)
  To: rostedt; +Cc: linux-trace-devel

Need a way to override LIBS during certain compile operations (read:
clang seemingly), so adjusting this so that LIBS can be defined and
allow for overriding with specific intent to support package builds.

Signed-off-by: John 'Warthog9' Hawley (VMware) <warthog9@eaglescrag.net>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 4d9289d..a320523 100644
--- a/Makefile
+++ b/Makefile
@@ -130,7 +130,7 @@ else
   CFLAGS := -g -Wall
 endif
 
-LIBS = -ldl
+LIBS ?= -ldl
 export LIBS
 
 set_plugin_dir := 1
-- 
2.37.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] libtraceevent: Makefile - set LIBS as conditional assignment
  2022-08-10 23:55 [PATCH] libtraceevent: Makefile - set LIBS as conditional assignment John 'Warthog9' Hawley (VMware)
@ 2022-09-08 22:15 ` Steven Rostedt
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2022-09-08 22:15 UTC (permalink / raw)
  To: John 'Warthog9' Hawley (VMware); +Cc: linux-trace-devel

On Wed, 10 Aug 2022 16:55:35 -0700
"John 'Warthog9' Hawley (VMware)" <warthog9@eaglescrag.net> wrote:

> Need a way to override LIBS during certain compile operations (read:
> clang seemingly), so adjusting this so that LIBS can be defined and
> allow for overriding with specific intent to support package builds.
> 
> Signed-off-by: John 'Warthog9' Hawley (VMware) <warthog9@eaglescrag.net>


Applied. Thanks John!

-- Steve

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-08 22:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-10 23:55 [PATCH] libtraceevent: Makefile - set LIBS as conditional assignment John 'Warthog9' Hawley (VMware)
2022-09-08 22:15 ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).