Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > f09dd7ef74a127d5554cebceb8712b0f > files > 1

pesign-116-2.mga9.src.rpm

From 715c65bfb537b8562b8f2ebb24922873ce7de64f Mon Sep 17 00:00:00 2001
From: Papoteur <papoteur@mageia.org>
Date: Tue, 27 Jun 2023 18:19:00 +0200
Subject: [PATCH] Do not use -fcf-protection=full on ia32

---
 Make.defaults | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Make.defaults b/Make.defaults
index 05aadd0..7b8108f 100644
--- a/Make.defaults
+++ b/Make.defaults
@@ -31,7 +31,7 @@ CC	:= $(if $(filter default,$(origin CC)),$(CROSS_COMPILE)gcc,$(CC))
 CCLD	:= $(if $(filter undefined,$(origin CCLD)),$(CC),$(CCLD))
 CFLAGS	?= -O2 -g3 -pipe -fPIE -fstack-protector-all \
 	-fstack-clash-protection \
-	$(if $(filter x86_64 ia32,$(ARCH)),-fcf-protection=full,)
+	$(if $(filter x86_64,$(ARCH)),-fcf-protection=full,)
 DIAGFLAGS ?= $(call enabled,ENABLE_GCC_ANALYZER,-fmessage-length=0 \
 	     -fdiagnostics-color=always \
 	     -fdiagnostics-format=text \
-- 
2.30.9