Skip to content

Commit

Permalink
Merge pull request rust-lang#16 from ids1024/gcc
Browse files Browse the repository at this point in the history
Correct paths in gcc build (so it can find required files)
  • Loading branch information
jackpot51 authored Apr 24, 2017
2 parents 5e34989 + 39506a7 commit 299e1fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ports/gcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ GIT=https://github.com/redox-os/gcc.git
GIT_BRANCH=redox
DIR=gcc

CONFIGURE_ARGS="--host=${HOST} --target=${HOST} --enable-static --disable-shared --disable-dlopen --disable-nls --enable-languages=c --without-headers"
CONFIGURE_ARGS="--host=${HOST} --target=${HOST} --prefix=/usr --enable-static --disable-shared --disable-dlopen --disable-nls --enable-languages=c --without-headers"
BUILD_ARGS="all-gcc all-target-libgcc"

case $1 in
Expand All @@ -25,10 +25,10 @@ case $1 in
popd
configure_template configure
make_template build
make -C "${BUILD}/${DIR}/${MAKE_DIR}" -j `nproc` install install-gcc install-target-libgcc
make -C "${BUILD}/${DIR}/${MAKE_DIR}" DESTDIR="${BUILD}/sysroot" -j `nproc` install-gcc install-target-libgcc
;;
install)
make -C "${BUILD}/${DIR}/${MAKE_DIR}" -j `nproc` install install-gcc install-target-libgcc
make -C "${BUILD}/${DIR}/${MAKE_DIR}" DESTDIR="${BUILD}/sysroot" -j `nproc` install-gcc install-target-libgcc
;;
*)
configure_template $*
Expand Down

0 comments on commit 299e1fe

Please sign in to comment.