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 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. FEATURES="-collision-protect sandbox buildpkg noman noinfo nodoc"
  22. # Be sure we dont overwrite pkgs from another repo..
  23. PKGDIR=${ROOT}packages/
  24. PORTAGE_TMPDIR=${ROOT}tmp/
  25. ELIBC="glibc"
  26. PKG_CONFIG_PATH="${ROOT}usr/lib/pkgconfig/"
  27. #PORTDIR_OVERLAY="/usr/portage/local/"
  28. # added by NeddySeagoon from here down
  29. # where to find C++
  30. CXX="/usr/x86_64-pc-linux-gnu/aarch64-unknown-linux-gnu/gcc-bin/6.2.0/aarch64-unknown-linux-gnu-g++"
  31. MAKEOPTS="-j8"
  32. GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/
  33. http://mirror.mdfnet.se/gentoo
  34. http://mirrors.163.com/gentoo/
  35. http://gentoo.mirror.web4u.cz/
  36. http://64.50.236.52/
  37. http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
  38. http://gentoo.tiscali.nl/
  39. http://gentoo.mneisen.org/
  40. http://gentoo.mirror.pw.edu.pl/
  41. http://gentoo.prz.rzeszow.pl
  42. http://mirror.uni-c.dk/pub/gentoo/
  43. http://mirror.mdfnet.se/mirror/gentoo
  44. http://ftp.gentoo.bg/
  45. http://distfiles.gentoo.bg/
  46. http://mirrors.ludost.net/gentoo/
  47. http://mirror.hamakor.org.il/pub/mirrors/gentoo/
  48. http://ftp.dei.uc.pt/pub/linux/gentoo/"
  49. INSTALL_MASK=" /usr/lib/systemd *.la"
  50. PYTHON_SINGLE_TARGET="python3_4"
  51. PYTHON_TARGETS="python2_7 python3_4"
  52. INPUT_DEVICES="evdev"
  53. VIDEO_CARDS="fbdev"
  54. PORTAGE_OVERLAY="/usr/local/gentoo-static"
  55.