]> git.ipfire.org Git - thirdparty/gcc.git/commit
cobol: Honor the "-static" command-line option. [PR119231]
authorRobert Dubner <rdubner@symas.com>
Thu, 24 Jul 2025 16:09:36 +0000 (12:09 -0400)
committerRobert Dubner <rdubner@symas.com>
Thu, 24 Jul 2025 17:23:43 +0000 (13:23 -0400)
commit44e32178031e89399710c3ee7444891631a9c8ec
tree4833da83d4d0e336493acb7469e4711799a6ba45
parent5865c0b81fe8c3046da3ec7c6cd9a38aa2fd709d
cobol: Honor the "-static" command-line option. [PR119231]

gcc/cobol/ChangeLog:

PR cobol/119231
* gcobolspec.cc: (lang_specific_driver): Pass OPT_static through.
Handle -static and -static-libgcobol properly.

gcc/testsuite/ChangeLog:

* cobol.dg/group2/_-static__compilation.cob: Modify for -static warning.
* cobol.dg/group2/_-static__compilation.out: Removed.
gcc/cobol/gcobolspec.cc
gcc/testsuite/cobol.dg/group2/_-static__compilation.cob
gcc/testsuite/cobol.dg/group2/_-static__compilation.out [deleted file]