mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

89 lines
2.8 KiB

  1. #!/bin/bash
  2. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  3. #
  4. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  5. # Please add additional copyright information _after_ the line containing
  6. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  7. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  8. #
  9. # ROCK Linux: rock-src/package/base/gcc/config-300.in
  10. # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
  11. #
  12. # This program is free software; you can redistribute it and/or modify
  13. # it under the terms of the GNU General Public License as published by
  14. # the Free Software Foundation; either version 2 of the License, or
  15. # (at your option) any later version. A copy of the GNU General Public
  16. # License can be found at Documentation/COPYING.
  17. #
  18. # Many people helped and are helping developing ROCK Linux. Please
  19. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  20. # file for details.
  21. #
  22. # --- ROCK-COPYRIGHT-NOTE-END ---
  23. if pkgcheck "gcc=.*" X ; then
  24. menu_begin MENU_COMPILER 'GCC Compiler Options'
  25. bool 'Use Stack-Smashing Protector when available' \
  26. ROCKCFG_PKG_GCC_STACKPRO 0
  27. include "package/*/*/subconfig-gcc.in"
  28. if pkgcheck gcc=gcc2 X; then
  29. comment ' '
  30. comment '--- GCC 2.x options'
  31. bool 'Do not build CHILL compiler' \
  32. ROCKCFG_PKG_GCC2_NO_CHILL 1
  33. include "package/*/*/subconfig-gcc2.in"
  34. fi
  35. if pkgcheck gcc=gcc32 X; then
  36. comment ' '
  37. comment '--- GCC 3.2.x options'
  38. bool 'Do not build JAVA compiler' \
  39. ROCKCFG_PKG_GCC32_NO_JAVA 1
  40. include "package/*/*/subconfig-gcc32.in"
  41. fi
  42. if pkgcheck gcc=gcc33 X; then
  43. comment ' '
  44. comment '--- GCC 3.3.x options'
  45. bool 'Do not build JAVA compiler' \
  46. ROCKCFG_PKG_GCC33_NO_JAVA 1
  47. include "package/*/*/subconfig-gcc33.in"
  48. fi
  49. if pkgcheck gcc=gcc34 X; then
  50. comment ' '
  51. comment '--- GCC 3.4.x options'
  52. bool 'Do not build JAVA compiler' \
  53. ROCKCFG_PKG_GCC34_NO_JAVA 1
  54. bool 'Do profiled bootstrap' \
  55. ROCKCFG_PKG_GCC34_PROFILED 1
  56. include "package/*/*/subconfig-gcc34.in"
  57. fi
  58. if pkgcheck gcc=gcc40 X; then
  59. comment ' '
  60. comment '--- GCC 4.0.x options'
  61. bool 'Do not build JAVA compiler' \
  62. ROCKCFG_PKG_GCC40_NO_JAVA 1
  63. bool 'Do profiled bootstrap' \
  64. ROCKCFG_PKG_GCC40_PROFILED 1
  65. include "package/*/*/subconfig-gcc40.in"
  66. fi
  67. if pkgcheck gcc=gcc41 X; then
  68. comment ' '
  69. comment '--- GCC 4.1.x options'
  70. bool 'Do not build JAVA compiler' \
  71. ROCKCFG_PKG_GCC41_NO_JAVA 1
  72. bool 'Do profiled bootstrap' \
  73. ROCKCFG_PKG_GCC41_PROFILED 1
  74. include "package/*/*/subconfig-gcc41.in"
  75. fi
  76. if pkgcheck gcc=gcc42 X; then
  77. comment ' '
  78. comment '--- GCC 4.2.x options'
  79. bool 'Do not build JAVA compiler' \
  80. ROCKCFG_PKG_GCC42_NO_JAVA 1
  81. bool 'Do profiled bootstrap' \
  82. ROCKCFG_PKG_GCC42_PROFILED 1
  83. include "package/*/*/subconfig-gcc42.in"
  84. fi
  85. menu_end
  86. fi