How to check for -z now or -z lazy in LINK_COMMAND_SPEC with spec or code.

Magnus Granberg zorry@ume.nu
Mon Jul 13 23:49:00 GMT 2009


Hi

How to check for -Wl,-z,now or -Wl,-z,lazy with spec in LINK_COMMAND_SPEC or 
do i need to add code for that?
i did try with %{!now:%{!lazy:foo}} but it did't work. I need some way to add 
foo to the link command line when
-z lazy or -z now is not use. And i can't add it to the command line like gcc 
-Wl,-foo.
/Magnus



More information about the Gcc-help mailing list