COMMON_FLAGS="-O2 -pipe -mcpu=cortex-a76.cortex-a55+crc+crypto" # From cpuid2cpuflags for Orange Pi 5: CPU_FLAGS_ARM="edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 aes sha1 sha2 crc32 asimddp v4 v5 v6 v7 v8 thumb2" CFLAGS="${COMMON_FLAGS}" CXXFLAGS="${CFLAGS}" FCFLAGS="${COMMON_FLAGS}" FFLAGS="${COMMON_FLAGS}" # WARNING: Changing your CHOST is not something that should be done lightly. # Please consult https://wiki.gentoo.org/wiki/Changing_the_CHOST_variable before changing. # CHOST="aarch64-unknown-linux-gnu" MAKEOPTS="-j8" # BINHOST_DIR variable exported by a pre emerge script placed in /usr/local/bin/ # ans directory created if not exists: # BINHOST_DIR="${BINHOST_DIR}" # Portage directories location: PORTDIR="/var/db/repos/gentoo" DISTDIR="/var/cache/distfiles" # This location will change on profile and gcc upgrades: PORT_LOGDIR="/var/log/portage" PORTAGE_TMPDIR="/var/tmp/portage" # PKGDIR="${BINHOST_DIR}" BINPKG_FORMAT="gpkg" # FEATURES="distcc buildpkg binpkg-multi-instance parallel-fetch parallel-install" FEATURES="buildpkg binpkg-multi-instance parallel-fetch parallel-install" ACCEPT_KEYWORDS="~arm64" PORTAGE_NICENESS="-20" PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}" PORTAGE_IONICE_PRIO="3" DISTCC_SSH="ssh" POLICY_TYPES="strict targeted mcs" USE="selinux python snmp vim-syntax" # This sets the language of build output to English. # Please keep this setting intact when reporting bugs. LC_MESSAGES=C.utf8 PERL_FEATURES="ithreads" # Testing upgrade to python3.12: PYTHON_TARGETS="python3_12" PYTHON_SINGLE_TARGET="python3_12"