Skip to content

Commit

Permalink
Fix for non-portable GFortran -J flag in install script (#692)
Browse files Browse the repository at this point in the history
  • Loading branch information
wyphan authored May 18, 2022
1 parent 95dbca1 commit aec789f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ fi

$FETCH $SOURCE_URL > $BOOTSTRAP_DIR/fpm.F90

$FC $FFLAGS -J $BOOTSTRAP_DIR $BOOTSTRAP_DIR/fpm.F90 -o $BOOTSTRAP_DIR/fpm
SAVEDIR="$(pwd)"
cd $BOOTSTRAP_DIR
$FC $FFLAGS fpm.F90 -o fpm
cd "$SAVEDIR"

$BOOTSTRAP_DIR/fpm update
$BOOTSTRAP_DIR/fpm install --compiler "$FC" --flag "$FFLAGS" --prefix "$PREFIX"
Expand Down

0 comments on commit aec789f

Please sign in to comment.