[flang] Fix flang
(the bash wrapper script for the Flang driver)
Remove erroneous `||` at the end of an `if` condition. This was introduced in https://reviews.llvm.org/D106871.
This commit is contained in:
parent
3a349d2269
commit
1a7ed9561a
|
@ -219,8 +219,7 @@ categorise_opts()
|
|||
[[ $opt =~ -I.* ]] ||
|
||||
[[ $opt =~ -J.* ]] ||
|
||||
[[ $opt == "-fopenmp" ]] ||
|
||||
[[ $opt == "-fopenacc" ]] ||
|
||||
; then
|
||||
[[ $opt == "-fopenacc" ]]; then
|
||||
flang_opts+=($opt)
|
||||
fc_opts+=($opt)
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue