Blame SOURCES/ldflags-env.patch

ec5d98
diff -urN rhc-0.2.0.orig/Makefile rhc-0.2.0/Makefile
ec5d98
--- rhc-0.2.0.orig/Makefile	2021-06-28 14:38:47.000000000 -0400
ec5d98
+++ rhc-0.2.0/Makefile	2021-11-16 13:34:20.741700621 -0500
ec5d98
@@ -42,7 +42,7 @@
ec5d98
 SYSTEMD_SYSTEM_UNIT_DIR  := $(shell pkg-config --variable systemdsystemunitdir systemd)
ec5d98
 
ec5d98
 # Build flags
ec5d98
-LDFLAGS := 
ec5d98
+LDFLAGS ?= 
ec5d98
 LDFLAGS += -X 'github.com/redhatinsights/yggdrasil.Version=$(VERSION)'
ec5d98
 LDFLAGS += -X 'github.com/redhatinsights/yggdrasil.ShortName=$(SHORTNAME)'
ec5d98
 LDFLAGS += -X 'github.com/redhatinsights/yggdrasil.LongName=$(LONGNAME)'