Skip to content

Commit

Permalink
Use first_obj directory for the first GCC pass
Browse files Browse the repository at this point in the history
  • Loading branch information
flavioc committed Nov 22, 2024
1 parent b1a6e5a commit 34a0533
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bootstrap-funcs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ compile_binutils() {

compile_gcc() {
print_info "Cross compiling first phase of GCC"
rm -rf $GCC_SRC.obj &&
mkdir -p $GCC_SRC.obj &&
cd $GCC_SRC.obj &&
rm -rf $GCC_SRC.first_obj &&
mkdir -p $GCC_SRC.first_obj &&
cd $GCC_SRC.first_obj &&
AR=$HOST_AR LDFLAGS="-Wl,-rpath,${CROSS_TOOLS}/lib" \
$SOURCE/$GCC_SRC/configure \
--prefix=$CROSS_TOOLS \
Expand Down

0 comments on commit 34a0533

Please sign in to comment.