Blame SOURCES/0002-stonith_helper-Don-t-link-dlm_stonith-against-libxml.patch
|
|
ecbce0 |
From c745ac4ce06df71b13c5901aa2e6c3772f3661dd Mon Sep 17 00:00:00 2001
|
|
|
ecbce0 |
From: Alexander Aring <aahringo@redhat.com>
|
|
|
ecbce0 |
Date: Thu, 2 Dec 2021 13:27:26 -0500
|
|
|
ecbce0 |
Subject: [PATCH 2/5] stonith_helper: Don't link dlm_stonith against libxml2
|
|
|
ecbce0 |
MIME-Version: 1.0
|
|
|
ecbce0 |
Content-Type: text/plain; charset=UTF-8
|
|
|
ecbce0 |
Content-Transfer-Encoding: 8bit
|
|
|
ecbce0 |
|
|
|
ecbce0 |
Took it from the debian patches. There is no need to link against
|
|
|
ecbce0 |
libxml2 for the stonith_helper tool.
|
|
|
ecbce0 |
|
|
|
ecbce0 |
Reported-by: Ferenc Wágner <wferi@debian.org>
|
|
|
ecbce0 |
---
|
|
|
ecbce0 |
fence/Makefile | 2 --
|
|
|
ecbce0 |
1 file changed, 2 deletions(-)
|
|
|
ecbce0 |
|
|
|
ecbce0 |
diff --git a/fence/Makefile b/fence/Makefile
|
|
|
ecbce0 |
index 2b080468eaa0..547f7ba946ff 100644
|
|
|
ecbce0 |
--- a/fence/Makefile
|
|
|
ecbce0 |
+++ b/fence/Makefile
|
|
|
ecbce0 |
@@ -18,12 +18,10 @@ CFLAGS += -D_GNU_SOURCE -O2 -ggdb \
|
|
|
ecbce0 |
-fstack-clash-protection -Wl,-z,now
|
|
|
ecbce0 |
|
|
|
ecbce0 |
CFLAGS += -fPIE -DPIE
|
|
|
ecbce0 |
-CFLAGS += `xml2-config --cflags`
|
|
|
ecbce0 |
CFLAGS += -I../include
|
|
|
ecbce0 |
CFLAGS += $(shell pkg-config --cflags pacemaker-fencing)
|
|
|
ecbce0 |
|
|
|
ecbce0 |
LDFLAGS += -Wl,-z,relro -Wl,-z,defs -pie
|
|
|
ecbce0 |
-LDFLAGS += `xml2-config --libs`
|
|
|
ecbce0 |
LDFLAGS += -ldl
|
|
|
ecbce0 |
|
|
|
ecbce0 |
all: $(BIN_TARGET)
|
|
|
ecbce0 |
--
|
|
|
ecbce0 |
2.7.5
|
|
|
ecbce0 |
|