Yeah I've done something like that locally, but it feels kind of hacky...
On 2014-09-16, 2:44 AM, xunxun wrote:
I use the below patch to do the similar things: diff -r 93adcadf9a52 -r 0a148cfae582 security/nss/coreconf/command.mk <http://command.mk> --- a/security/nss/coreconf/command.mk <http://command.mk> Thu Jul 17 18:36:03 2014 +0800 +++ b/security/nss/coreconf/command.mk <http://command.mk> Thu Jul 17 18:36:51 2014 +0800 @@ -11,7 +11,7 @@ AS = $(CC) ASFLAGS += $(CFLAGS) CCF = $(CC) $(CFLAGS) -LINK_DLL = $(LINK) $(OS_DLLFLAGS) $(DLLFLAGS) +LINK_DLL = $(LINK) $(OS_DLLFLAGS) $(DLLFLAGS) -opt:ref,icf -LARGEADDRESSAWARE LINK_EXE = $(LINK) $(OS_LFLAGS) $(LFLAGS) CFLAGS = $(OPTIMIZER) $(OS_CFLAGS) $(XP_DEFINE) $(DEFINES) $(INCLUDES) \ On Tue, Sep 16, 2014 at 9:11 AM, Ehsan Akhgari <ehsan.akhg...@gmail.com <mailto:ehsan.akhg...@gmail.com>> wrote: I'm trying to get the AddressSanitizer builds on Windows working. I need to pass in a couple of library names to the linker through a mozconfig setting. Setting them in LDFLAGS in the mozconfig doesn't work because NSS is built with its own LDFLAGS. There is MOZ_CFLAGS_NSS that makes NSS inherit the CFLAGS set in our configure script. How do I do something similar with LDFLAGS? I assume that this is not possible already, so I'd appreciate pointers towards something that will get accepted into the tree. Thanks! -- Ehsan _______________________________________________ dev-builds mailing list dev-builds@lists.mozilla.org <mailto:dev-builds@lists.mozilla.org> https://lists.mozilla.org/listinfo/dev-builds -- Best Regards, xunxun
_______________________________________________ dev-builds mailing list dev-builds@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-builds