This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch, fortran] Additional on PR31400.


Hopefully, my changelog and patch formatting is up to scratch now...

.. as Jakub pointed out...
we were not checking for -static and therefore never responding to the case where -static-libgfortran was given together with -static.


tested on ia32-pc-linux (which has Bstatic/dynamic) and i686-apple- darwin (which doesn't).

OK for trunk, and 4.5 in due course?

Iain

2010-04-09 Iain Sandoe <iains@gcc.gnu.org>

	PR bootstrap/31400
	* gfortranspec.c (lookup_option): Check for -static and return
	OPTION_static.
	(lang_specific_driver): Break when OPTION_static is discovered.



Attachment: 158165-PR31400-addition.txt
Description: Text document



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]