From c28465c09e5e1baadd892074dfc7a990222d264f Mon Sep 17 00:00:00 2001 From: Sadoon Albader Date: Fri, 18 Aug 2023 15:19:53 +0300 Subject: [PATCH] Add our dpkg-buildflags to schroot --- mk-schroot-bookworm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mk-schroot-bookworm b/mk-schroot-bookworm index e660052..7b97e19 100644 --- a/mk-schroot-bookworm +++ b/mk-schroot-bookworm @@ -16,3 +16,7 @@ RELEASE=bookworm sbuild-createchroot --include=eatmydata,ccache $RELEASE $SCHROOT_DIR http://127.0.0.1:3142/$DEBMIRROR/debian +tee $SCHROOT_DIR/etc/dpkg/buildflags.conf << EOF +APPEND CFLAGS -mcpu=power9 -mno-altivec -mno-vsx -mno-crypto -mno-htm -mlong-double-64 +APPEND CXXFLAGS -mcpu=power9 -mno-altivec -mno-vsx -mno-crypto -mno-htm -mlong-double-64 +EOF -- 2.30.2