Blame SOURCES/0001-Revert-treewide-add-fcf-protection-full-to-CFLAGS.patch

69373a
From 4cfb7b21a88f0ae32d97ea4cbb0c7419b88f397d Mon Sep 17 00:00:00 2001
69373a
From: Alexander Aring <aahringo@redhat.com>
69373a
Date: Wed, 12 Oct 2022 12:44:03 -0400
69373a
Subject: [PATCH] Revert "treewide: add -fcf-protection=full to CFLAGS"
69373a
69373a
This reverts commit 215aedf1fdff58c62fe596284948590965acc85c.
69373a
---
69373a
 dlm_controld/Makefile | 2 +-
69373a
 dlm_tool/Makefile     | 2 +-
69373a
 fence/Makefile        | 2 +-
69373a
 libdlm/Makefile       | 4 ++--
69373a
 4 files changed, 5 insertions(+), 5 deletions(-)
69373a
69373a
diff --git a/dlm_controld/Makefile b/dlm_controld/Makefile
69373a
index ec8c360cc853..9cf7152f60ab 100644
69373a
--- a/dlm_controld/Makefile
69373a
+++ b/dlm_controld/Makefile
69373a
@@ -43,7 +43,7 @@ CFLAGS += -D_GNU_SOURCE -O2 -ggdb \
69373a
 	-Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 \
69373a
 	-fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option \
69373a
 	-Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong \
69373a
-	-fstack-clash-protection -fcf-protection=full
69373a
+	-fstack-clash-protection
69373a
 
69373a
 BIN_CFLAGS += $(CFLAGS) -fPIE -DPIE
69373a
 BIN_CFLAGS += -I../include -I../libdlm
69373a
diff --git a/dlm_tool/Makefile b/dlm_tool/Makefile
69373a
index 57629c731771..1c3d61d5c860 100644
69373a
--- a/dlm_tool/Makefile
69373a
+++ b/dlm_tool/Makefile
69373a
@@ -15,7 +15,7 @@ CFLAGS += -D_GNU_SOURCE -O2 -ggdb \
69373a
 	-Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 \
69373a
 	-fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option \
69373a
 	-Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong \
69373a
-	-fstack-clash-protection -fcf-protection=full
69373a
+	-fstack-clash-protection
69373a
 
69373a
 CFLAGS += -fPIE -DPIE
69373a
 CFLAGS += -I../include -I../libdlm -I../dlm_controld
69373a
diff --git a/fence/Makefile b/fence/Makefile
69373a
index 446f4eaac9f9..ee4dfb886d4c 100644
69373a
--- a/fence/Makefile
69373a
+++ b/fence/Makefile
69373a
@@ -15,7 +15,7 @@ CFLAGS += -D_GNU_SOURCE -O2 -ggdb \
69373a
 	-Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 \
69373a
 	-fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option \
69373a
 	-Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong \
69373a
-	-fstack-clash-protection -fcf-protection=full
69373a
+	-fstack-clash-protection
69373a
 
69373a
 CFLAGS += -fPIE -DPIE
69373a
 CFLAGS += -I../include
69373a
diff --git a/libdlm/Makefile b/libdlm/Makefile
69373a
index 823fdaa94073..5069ccf1f7f9 100644
69373a
--- a/libdlm/Makefile
69373a
+++ b/libdlm/Makefile
69373a
@@ -80,8 +80,8 @@ CFLAGS += -D_GNU_SOURCE -O2 -ggdb \
69373a
 	-fdiagnostics-show-option \
69373a
 	-fPIC
69373a
 
69373a
-LIB_CFLAGS += $(CFLAGS) -D_REENTRANT -fcf-protection=full
69373a
-LLT_CFLAGS += $(CFLAGS) -fcf-protection=full
69373a
+LIB_CFLAGS += $(CFLAGS) -D_REENTRANT
69373a
+LLT_CFLAGS += $(CFLAGS)
69373a
 
69373a
 LIB_LDFLAGS += $(LDFLAGS) -lpthread -Wl,-z,now
69373a
 LLT_LDFLAGS += $(LDFLAGS) -Wl,-z,now
69373a
-- 
69373a
2.7.5
69373a