Skip to content

Commit

Permalink
make gcc build (skip bootstrap)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis committed Oct 23, 2011
1 parent 40463c5 commit cc3c6e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gcc/config/defaults
Expand Up @@ -3,4 +3,4 @@ base_url=ftp://mirror.rit.edu/gnu/gcc
archive_format=tar.bz2 archive_format=tar.bz2
website_url=http://www.gnu.org/software/gcc/ website_url=http://www.gnu.org/software/gcc/
docs_url=http://www.gnu.org/software/gcc/man.html docs_url=http://www.gnu.org/software/gcc/man.html
configure_flags=--with-gmp --with-mpfr --with-mpc --enable-build-with-cxx --disable-multilib configure_flags=--with-gmp --with-mpfr --with-mpc --enable-build-with-cxx --disable-multilib --disable-werror --disable-bootstrap
10 changes: 6 additions & 4 deletions gcc/shell/functions
Expand Up @@ -11,14 +11,16 @@ gcc_prefetch()
package configure flags "--with-pkgversion=GCC_SM_$(date +%Y%m%d_%H%M)" package configure flags "--with-pkgversion=GCC_SM_$(date +%Y%m%d_%H%M)"
} }


gcc_prconfigure() gcc_preconfigure()
{ {
typeset GCC_BUILD_PATH typeset GCC_BUILD_PATH
export configure_command PREFIX export configure_command PREFIX BOOT_CFLAGS CFLAGS
GCC_BUILD_PATH=$PWD-build GCC_BUILD_PATH=$PWD-build
PREFIX="${install_path}" PREFIX="${install_path}"
package configure flag "--prefix" "${install_path}" BOOT_CFLAGS="${CFLAGS:='-g -O2'}"
package configure flag key "--prefix" "${install_path}"
configure_command="$PWD/configure ${configure_flags[*]}" configure_command="$PWD/configure ${configure_flags[*]}"
\mkdir "${GCC_BUILD_PATH}" \rm -rf "${GCC_BUILD_PATH}"
\mkdir -p "${GCC_BUILD_PATH}"
\cd "${GCC_BUILD_PATH}" \cd "${GCC_BUILD_PATH}"
} }

0 comments on commit cc3c6e7

Please sign in to comment.