Blame SOURCES/0001-Pass-LDFLAGS-to-the-linker.patch

e642a9
From c6868e91438ed81257b939f0a36c1abeda207c26 Mon Sep 17 00:00:00 2001
e642a9
Message-Id: <c6868e91438ed81257b939f0a36c1abeda207c26.1645111732.git.jbenc@redhat.com>
e642a9
From: Jiri Benc <jbenc@redhat.com>
e642a9
Date: Thu, 17 Feb 2022 16:28:06 +0100
e642a9
Subject: [PATCH] Pass LDFLAGS to the linker
e642a9
e642a9
Signed-off-by: Jiri Benc <jbenc@redhat.com>
e642a9
---
e642a9
 Makefile | 2 +-
e642a9
 1 file changed, 1 insertion(+), 1 deletion(-)
e642a9
e642a9
diff --git a/Makefile b/Makefile
e642a9
index 0423f3198c09..54d7aa552f1b 100644
e642a9
--- a/Makefile
e642a9
+++ b/Makefile
e642a9
@@ -13,7 +13,7 @@ plotnetcfg: args.o ethtool.o frontend.o handler.o if.o label.o main.o match.o ne
e642a9
 	    handlers/bridge.o handlers/master.o handlers/openvswitch.o handlers/veth.o \
e642a9
 	    handlers/vlan.o \
e642a9
 	    frontends/dot.o frontends/json.o
e642a9
-	gcc -o $@ $+ $(libs)
e642a9
+	gcc $(LDFLAGS) -o $@ $+ $(libs)
e642a9
 
e642a9
 args.o: args.c args.h
e642a9
 ethtool.o: ethtool.c ethtool.h
e642a9
-- 
e642a9
2.34.1
e642a9