Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to set the link flag?

49 views
Skip to first unread message

Rongxin Wu

unread,
Oct 29, 2012, 10:36:13 AM10/29/12
to
Hi. Is there any approach to set up the parameters for link when compiling the Mozilla Firefox? When I configure the LDFLAGS="-profile", this only appears in the commands where link.exe is with the cl.exe. However, when link command appears at the beginning, (for example, link -NOLOGO -OUT:nsinstall.exe -PDB:nsinstall.pdb host_nsinstall_win.obj), the LDFLAGS will have no effects. Can anybody know how to pass the link flag in that case?

Frank Wein

unread,
Nov 3, 2012, 6:19:49 AM11/3/12
to
So you use the classic ./configure, make commands to compile Firefox?
How exactly did your command look like to pass the modified LDFLAGS to
the build system? I would have used "export LDFLAGS="..." " in the
.mozconfig file, but passing it directly to configure should work, too
(I think).

Frank

--
Es gibt viel zu tun, warten wir es ab!

Rongxin Wu

unread,
Nov 7, 2012, 4:18:37 AM11/7/12
to
On Saturday, November 3, 2012 6:19:51 PM UTC+8, Frank Wein wrote:
> Rongxin Wu wrote:
I just ran the command "make -f client.mk" and configure the LDFLAGS="-profile" in .mozconfig. I wrote "LDFLAGS="-profile"" instead of "EXPORT LDFLAGS="-profile"", maybe this is why it didn't work. I will try it. Thanks.
0 new messages