Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.70 KB | None | 0 0
  1. diff --git a/007.gcc.full.build b/007.gcc.full.build
  2. index 73eccbb..a2ad27b 100644
  3. --- a/007.gcc.full.build
  4. +++ b/007.gcc.full.build
  5. @@ -76,34 +76,61 @@ else
  6. --with-elf=${PREFIX_LVL} \
  7. --with-gmp=${PREFIX_LVL} \
  8. --with-mpc=${PREFIX_LVL} \
  9. - --with-mpfr=${PREFIX_LVL} \
  10. - --with-sysroot=";
  11. + --with-mpfr=${PREFIX_LVL}";
  12. fi;
  13. rm_if_exists -m -c ${BUILD_DIR};
  14. - ../cbb-gcc-${PKG_GCC_VERSION}/configure \
  15. - --disable-bootstrap \
  16. - --disable-libmudflap \
  17. - --disable-multilib \
  18. - --disable-nls \
  19. - --disable-obsolete \
  20. - --disable-sjlj-exceptions \
  21. - --disable-symvers \
  22. - --enable-canonical-system-headers \
  23. - --enable-__cxa_atexit \
  24. - --enable-debug \
  25. - --enable-gnu-indirect-function \
  26. - --enable-gnu-unique-object \
  27. - --enable-initfini-array \
  28. - --enable-languages=c,c++,objc,lto \
  29. - --enable-libstdcxx-debug \
  30. - --enable-lto \
  31. - --enable-multiarch \
  32. - --enable-secureplt \
  33. - --enable-shared \
  34. - --enable-threads=posix \
  35. - --target=${TARGET} \
  36. - --with-fpmath=sse \
  37. - ${_configure_args};
  38. + if [ "x${3}" = "xstage1" ]; then
  39. + ../cbb-gcc-${PKG_GCC_VERSION}/configure \
  40. + --disable-bootstrap \
  41. + --disable-libmudflap \
  42. + --disable-multilib \
  43. + --disable-nls \
  44. + --disable-obsolete \
  45. + --disable-sjlj-exceptions \
  46. + --disable-symvers \
  47. + --enable-canonical-system-headers \
  48. + --enable-__cxa_atexit \
  49. + --enable-debug \
  50. + --enable-gnu-indirect-function \
  51. + --enable-gnu-unique-object \
  52. + --enable-initfini-array \
  53. + --enable-languages=c,c++,objc,lto \
  54. + --enable-libstdcxx-debug \
  55. + --enable-lto \
  56. + --enable-multiarch \
  57. + --enable-secureplt \
  58. + --enable-shared \
  59. + --enable-threads=posix \
  60. + --target=${TARGET} \
  61. + --with-fpmath=sse \
  62. + --with-sysroot="" \
  63. + ${_configure_args};
  64. + elif [ "x${3}" = "xnative" ]; then
  65. + ../cbb-gcc-${PKG_GCC_VERSION}/configure \
  66. + --disable-bootstrap \
  67. + --disable-libmudflap \
  68. + --disable-multilib \
  69. + --disable-nls \
  70. + --disable-obsolete \
  71. + --disable-sjlj-exceptions \
  72. + --disable-symvers \
  73. + --enable-canonical-system-headers \
  74. + --enable-__cxa_atexit \
  75. + --enable-debug \
  76. + --enable-gnu-indirect-function \
  77. + --enable-gnu-unique-object \
  78. + --enable-initfini-array \
  79. + --enable-languages=c,c++,objc,lto \
  80. + --enable-libstdcxx-debug \
  81. + --enable-lto \
  82. + --enable-multiarch \
  83. + --enable-secureplt \
  84. + --enable-shared \
  85. + --enable-threads=posix \
  86. + --target=${TARGET} \
  87. + --with-fpmath=sse \
  88. + ${_configure_args};
  89. + fi;
  90. set_build_script_done configured -built;
  91. else
  92. cd ${BUILD_DIR};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement