From 84c09ab44599ece409e4e19761288ddf796fceec Mon Sep 17 00:00:00 2001 From: Peter Steinfeld Date: Fri, 11 Dec 2020 10:28:51 -0800 Subject: [PATCH] [flang] Removed an absolute path from the "flang" script The "flang" script that gets put into "install/bin" had an absolute path in it. This precuded moving the install directory to a new location. Differential Revision: https://reviews.llvm.org/D93131 --- flang/tools/f18/flang.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flang/tools/f18/flang.sh.in b/flang/tools/f18/flang.sh.in index 7f0d133..295d93a 100644 --- a/flang/tools/f18/flang.sh.in +++ b/flang/tools/f18/flang.sh.in @@ -26,4 +26,4 @@ function abspath() { wd=`abspath $(dirname "$0")/..` -${wd}/bin/f18 -module-suffix .f18.mod -intrinsic-module-directory @FLANG_INTRINSIC_MODULES_DIR@ $* +${wd}/bin/f18 -module-suffix .f18.mod -intrinsic-module-directory ${wd}/include/flang $* -- 2.7.4