Skip to content

Commit

Permalink
Switch to new compiler after post actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexpux committed Oct 3, 2013
1 parent 333c5b1 commit 8d963ec
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/gcc-post.sh
Expand Up @@ -35,10 +35,6 @@

# **************************************************************************

echo -n "--> Switching to new compiler..."
export PATH=$PREFIX/bin:$PREFIX/opt/bin:$LIBS_DIR/bin:$ORIGINAL_PATH
echo " done"

function gcc_post_install {
[[ ! -f $BUILDS_DIR/gcc-post.marker ]] && {
# remove <prefix>/mingw directory
Expand Down Expand Up @@ -118,4 +114,9 @@ function gcc_post_install {
}

gcc_post_install

echo -n "--> Switching to new compiler..."
export PATH=$PREFIX/bin:$PREFIX/opt/bin:$LIBS_DIR/bin:$ORIGINAL_PATH
echo " done"

# **************************************************************************

0 comments on commit 8d963ec

Please sign in to comment.