Skip to content

Commit 4de963d

Browse files
authored
Enforce trailing underscores on symbols when IBM xlf is combined with gcc
1 parent 8012afc commit 4de963d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

f_check

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ else
155155
*'IBM XL'*)
156156
vendor=IBM
157157
openmp='-openmp'
158+
case "$CC" in *gcc*)
159+
bu=_
160+
;;
161+
esac
158162
;;
159163
*NAG*)
160164
vendor=NAG
@@ -223,6 +227,10 @@ else
223227
*ppuf*|*xlf*)
224228
vendor=IBM
225229
openmp='-openmp'
230+
case "$CC" in *gcc*)
231+
bu=_
232+
;;
233+
esac
226234
;;
227235
*open64*)
228236
vendor=OPEN64

0 commit comments

Comments
 (0)