make.defaults 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. #
  4. # System-wide defaults for the Portage system
  5. # See portage(5) manpage
  6. #
  7. # Please avoid enabling things by default in here if possible. Understand any
  8. # implications with core packages. For example, if "java" is in USE and db
  9. # has a conditional dependency on java (which it does,) then a JDK will be
  10. # pulled in during *emerge system*!
  11. # Default starting set of USE flags for all default/linux profiles.
  12. USE="berkdb crypt ipv6 ncurses nls pam readline ssl tcpd zlib"
  13. # make sure toolchain has sane defaults <tooclhain@gentoo.org>
  14. USE="${USE} fortran openmp"
  15. # Security ftw.
  16. USE="${USE} seccomp"
  17. # 2010/10/21 - Ole Markus With <olemarkus@gentoo.org>
  18. # These USE flags were originally inserted here because of PHP
  19. # and were later removed by me. Reinserting the USE flags again because they are
  20. # global USE flags that may be expected to be set by other packages.
  21. USE="${USE} cli pcre session"
  22. # 2006/03/07 - Donnie Berkholz <dberkholz@gentoo.org>
  23. # Modular X: Support direct rendering by default
  24. # 2013/01/21 - Andreas K. Huettel <dilfridge@gentoo.org>
  25. # Re-added following discussion with chithead
  26. USE="${USE} dri"
  27. # 2006/10/28 - Luca Barbato <lu_zero@gentoo.org>
  28. # on glibc system you cannot turn it off
  29. USE="${USE} iconv"
  30. # 2017/01/17 - Matt Turner <mattst88@gentoo.org>
  31. # Sane defaults for input drivers
  32. INPUT_DEVICES="libinput"
  33. # 2006/08/18 - Donnie Berkholz <dberkholz@gentoo.org>
  34. # Lowest common denominator defaults for video drivers,
  35. # except hppa, which lacks v4l so removes it in the hppa profile
  36. VIDEO_CARDS="dummy fbdev v4l"
  37. # 2008/07/09 - Doug Goldstein <cardoe@gentoo.org>
  38. # Adding LDFLAGS="-Wl,-O1 for all Linux profiles by default
  39. # after discussion on the gentoo-dev ML. As we bang out a clear
  40. # direction with how LDFLAGS will be set by default, this entry
  41. # may move.
  42. # 2010/07/12 - Samuli Suominen <ssuominen@gentoo.org>
  43. # Note that adding LDFLAGS="-Wl,-O1 ${LDFLAGS}" breaks dev-util/boost-build
  44. # because of whitespace.
  45. LDFLAGS="-Wl,-O1 -Wl,--as-needed"
  46. # 2009/09/21 Robin H. Johnson <robbat2@gentoo.org>
  47. # https://archives.gentoo.org/gentoo-dev/msg_dc705dc2c1a45e18a85aa62e8fb17009.xml
  48. # Build kernel modules from linux-mod by default:
  49. USE="${USE} modules"