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
Родитель 7b5506dcd4
Коммит 4c30294597
1 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@ -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