From 9ccce5ed0d852d6ea48735cc7003858db6991c2d Mon Sep 17 00:00:00 2001 From: Sadoon Albader Date: Fri, 18 Aug 2023 19:33:24 +0300 Subject: [PATCH] universally apply our cflags (no vsx, no altivec..) --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/rules b/debian/rules index 6dda9093..e7267a97 100755 --- a/debian/rules +++ b/debian/rules @@ -111,6 +111,8 @@ BUILD_CXX = $(DEB_BUILD_GNU_TYPE)-$(BASE_CXX) BUILD_CFLAGS = -O2 -g -fdebug-prefix-map=$(CURDIR)=. HOST_CFLAGS = -pipe -O2 -g -fdebug-prefix-map=$(CURDIR)=. $(call xx,extra_cflags) +extra_cflags += -mno-altivec -mno-vsx -mno-htm -mno-crypto + # 32-bit MIPS builders have a 2GB memory space. This is not enough to # build test-tgmath3.o with GCC, unless tweaking the garbage collector. ifeq ($(findstring mips,$(DEB_BUILD_ARCH))-$(DEB_BUILD_ARCH_BITS), mips-32) -- 2.30.2