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

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