Bug 295659: include nsRect.cpp in xmlextras to cope with compilers which
expand inlines in nsRect too aggressively. (nsRect is found via nsGUIEvent.h included from nsXMLHttpRequest.cpp.) r=bsmedberg, a=asa. git-svn-id: svn://10.0.0.236/trunk@174769 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
d957943c91
commit
2972f6f28b
@ -69,8 +69,22 @@ CPPSRCS = \
|
||||
nsLoadListenerProxy.cpp \
|
||||
$(NULL)
|
||||
|
||||
# See bug 295659
|
||||
DEFINES += -D_IMPL_NS_GFX
|
||||
CPPSRCS += nsRect.cpp
|
||||
|
||||
# we don't want the shared lib, but we want to force the creation of a
|
||||
# static lib.
|
||||
FORCE_STATIC_LIB = 1
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
# Make sure that we have nsRect built in, because some compilers like to
|
||||
# aggressively expand some inlines we get via nsGUIEvent.h, and then we
|
||||
# lose when linking during a (transitive) XPI_PKGNAME build driven by a
|
||||
# static-app master build.
|
||||
#
|
||||
# See bug 295659.
|
||||
export::
|
||||
$(NSINSTALL) $(topsrcdir)/gfx/src/nsRect.cpp .
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user