Skip to content

Commit d624be0

Browse files
committed
Recognize FASTR_FC also in platform.mk
1 parent 8a18fbe commit d624be0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
H
22
,s/CC[[:space:]]=\(.*\)/CC = $(LABS_LLVM_CC)/g
3-
,s/FC[[:space:]]=\(.*\)/FC = $(FASTR_NATIVE_DIR)\/run\/fastr_tools\/f2c-wrapper\1/g
3+
,s/FC[[:space:]]=\(.*\)/FC = $(FASTR_NATIVE_DIR)\/run\/fastr_tools\/f2c-wrapper $(FASTR_NATIVE_DIR)\/run\/fastr_tools\/safe-forward-gfortran/g
44
w
55
q

com.oracle.truffle.r.native/run/fastr_tools/safe-forward-gfortran

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
# it checks that gfortran exists and if not prints out some message suggesting what to do.
2727
# We do not use the generic safe-forward-tool, because we expect gfortran to be by far the
2828
# most problematic tool and we want to provide some more gfortan specific guidance.
29-
30-
if [ "${FASTR_FC+dummy}" != dummy ]; then
29+
if [ ! -z "${FASTR_FC}" ]; then
3130
exec "$FASTR_FC" "$@"
3231
elif command -v gfortran>/dev/null; then
3332
exec gfortran "$@"

0 commit comments

Comments
 (0)