spacepaste

  1.  
  2. CHOST=aarch64-unknown-linux-gnu
  3. CBUILD=x86_64-pc-linux-gnu
  4. ARCH=arm64
  5. HOSTCC=x86_64-pc-linux-gnu-gcc
  6. ROOT=/usr/${CHOST}/
  7. ACCEPT_KEYWORDS="arm64 ~arm64"
  8. #USE="${ARCH} -pam"
  9. USE="${ARCH} egl icu minizip nss openssl pcre16 postproc python
  10. qt5 script sqlite svc threads virt-network
  11. -pam"
  12. L10N="en en-GB"
  13. LINGUAS="en en-GB"
  14. # free with crossdev
  15. #CFLAGS="-O2 -pipe -fomit-frame-pointer"
  16. #-march=armv8-a+crc -mtune=cortex-a53 -ftree-vectorize
  17. CFLAGS="-march=armv8-a+crc -mtune=cortex-a53 -ftree-vectorize -O2 -pipe -fomit-frame-pointer"
  18. # gcc-6.x has march native but we cross compile here, so its a good idea not to use it.
  19. # CFLAGS="-march=native -mtune=cortex-a53 -O2 -pipe"
  20. CXXFLAGS="${CFLAGS}"
  21. # Prevent breakage with things that try to build for multilib
  22. #EXTRA_ECONF="--disable-multilib"
  23. FEATURES="-collision-protect sandbox buildpkg noman noinfo nodoc"
  24. # Be sure we dont overwrite pkgs from another repo..
  25. PKGDIR=${ROOT}packages/
  26. PORTAGE_TMPDIR=${ROOT}tmp/
  27. ELIBC="glibc"
  28. PKG_CONFIG_PATH="${ROOT}usr/lib/pkgconfig/"
  29. #PORTDIR_OVERLAY="/usr/portage/local/"
  30. # added by NeddySeagoon from here down
  31. ############################################################################
  32. # Where to find C and C++ KEEP THIS UP TO DATE!!! Contains version numbers.
  33. # Fixes broken build systems that try to use the native compiler
  34. CXX="/usr/x86_64-pc-linux-gnu/aarch64-unknown-linux-gnu/gcc-bin/8.2.0/aarch64-unknown-linux-gnu-g++"
  35. CC="/usr/x86_64-pc-linux-gnu/aarch64-unknown-linux-gnu/gcc-bin/8.2.0/aarch64-unknown-linux-gnu-gcc"
  36. #LD="/usr/x86_64-pc-linux-gnu/aarch64-unknown-linux-gnu/binutils-bin/2.30/ld.gold"
  37. #AR="/usr/x86_64-pc-linux-gnu/aarch64-unknown-linux-gnu/gcc-bin/7.3.0/aarch64-unknown-linux-gnu-gcc-ar"
  38. ###########################################################################
  39. MAKEOPTS="-j8"
  40. # Dud mirrors
  41. # http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
  42. # http://gentoo.tiscali.nl/
  43. GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/
  44. http://mirror.mdfnet.se/gentoo
  45. http://mirrors.163.com/gentoo/
  46. http://gentoo.mirror.web4u.cz/
  47. http://64.50.236.52/
  48. http://gentoo.mneisen.org/
  49. http://gentoo.mirror.pw.edu.pl/
  50. http://gentoo.prz.rzeszow.pl
  51. http://mirror.uni-c.dk/pub/gentoo/
  52. http://mirror.mdfnet.se/mirror/gentoo
  53. http://ftp.gentoo.bg/
  54. http://distfiles.gentoo.bg/
  55. http://mirrors.ludost.net/gentoo/
  56. http://mirror.hamakor.org.il/pub/mirrors/gentoo/
  57. http://ftp.dei.uc.pt/pub/linux/gentoo/"
  58. INSTALL_MASK=" /usr/lib/systemd *.la"
  59. PYTHON_SINGLE_TARGET="python3_4"
  60. PYTHON_TARGETS="python2_7 python3_4"
  61. INPUT_DEVICES="evdev"
  62. VIDEO_CARDS="fbdev vc4"
  63. PORTAGE_OVERLAY="/usr/local/gentoo-static /usr/local/portage"
  64.