From: Sadoon Albader Date: Fri, 18 Aug 2023 12:19:53 +0000 (+0300) Subject: Add our dpkg-buildflags to schroot X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c28465c09e5e1baadd892074dfc7a990222d264f;p=dev-env-setup.git Add our dpkg-buildflags to schroot --- 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