Blame SOURCES/0005-Use-system-LDFLAGS.patch

3e90b9
From e08c858af4d2b09e62441560f3ccecc9e750c87a Mon Sep 17 00:00:00 2001
3e90b9
From: Rafael dos Santos <rdossant@redhat.com>
3e90b9
Date: Tue, 29 May 2018 15:15:24 +0200
3e90b9
Subject: [PATCH 5/8] Use system LDFLAGS
3e90b9
3e90b9
---
3e90b9
 Makefile | 2 +-
3e90b9
 1 file changed, 1 insertion(+), 1 deletion(-)
3e90b9
3e90b9
diff --git a/Makefile b/Makefile
3e90b9
index ac144046133..f0d13720db5 100644
3e90b9
--- a/Makefile
3e90b9
+++ b/Makefile
3e90b9
@@ -25,7 +25,7 @@ OBJECTS = grubby.o log.o
3e90b9
 CC = gcc
3e90b9
 RPM_OPT_FLAGS ?= -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector
3e90b9
 CFLAGS += $(RPM_OPT_FLAGS) -std=gnu99 -Wall -Werror -Wno-error=unused-function -Wno-unused-function -ggdb
3e90b9
-LDFLAGS := 
3e90b9
+LDFLAGS := $(RPM_LD_FLAGS)
3e90b9
 
3e90b9
 grubby_LIBS = -lblkid -lpopt
3e90b9
 
3e90b9
-- 
3e90b9
2.17.1
3e90b9