From: Sadoon Albader Date: Fri, 18 Aug 2023 16:33:24 +0000 (+0300) Subject: universally apply our cflags (no vsx, no altivec..) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=HEAD;p=glibc.git universally apply our cflags (no vsx, no altivec..) --- 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)