This is the mail archive of the gcc-help@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]

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


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


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