Skip to content

Commit 2d6e62f

Browse files
authored
Merge pull request #59 from n-isaka/develop
fix(tests): Errors occurring in the new version of GCC
2 parents 166fcf8 + c3d9146 commit 2d6e62f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/run.src/misc.at

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,8 @@ AT_DATA([caller.cob], [
498498

499499
AT_CHECK([${COMPILE_MODULE} -c callee.cob])
500500
AT_CHECK([${COMPILE} -c caller.cob])
501-
AT_CHECK([${COMPILE} -o prog caller.${OBJEXT} callee.${OBJEXT}])
501+
AT_CHECK([export COB_LDFLAGS="-z muldefs ${COB_LDFLAGS}"; \
502+
${COMPILE} -o prog caller.${OBJEXT} callee.${OBJEXT}])
502503
AT_CHECK([./prog], [0], [OK])
503504

504505
AT_CLEANUP

0 commit comments

Comments
 (0)