Workaround gcc -MD dependency issue originally mentioned in bug 105005.

Fixing OSX tinderboxes.
This commit is contained in:
cls%seawood.org 2003-09-26 02:04:13 +00:00
parent 480bf0dd47
commit 386b7fa766

View File

@ -68,7 +68,7 @@ CPPSRCS = \
nsAEWindowClass.cpp \
nsMacUtils.cpp \
nsWindowUtils.cpp \
../nsDocLoadObserver.cpp \
nsDocLoadObserver.cpp \
$(NULL)
@ -99,6 +99,12 @@ $(RSRC_DEST): $(SDEF_SRC)
libs:: $(RSRC_DEST)
GARBAGE += $(RES_DEST) $(RSRC_DEST)
# workaround gcc -MD dependency issue by copying source to local dir
export:: $(srcdir)/../nsDocLoadObserver.cpp
$(INSTALL) $< .
GARBAGE += $(RES_DEST) $(RSRC_DEST) \
../nsDocLoadObserver.$(OBJ_SUFFIX) nsDocLoadObserver.cpp \
$(NULL)
OS_CXXFLAGS += -fexceptions