trying to fix debug build bustage on linux.

This commit is contained in:
bryner%netscape.com 2003-02-01 00:54:29 +00:00
parent cc8dffbfcc
commit 62aef50c8f
2 changed files with 18 additions and 2 deletions

View File

@ -86,7 +86,13 @@ endif
endif
include $(topsrcdir)/config/config.mk
ifdef BUILD_STATIC_LIBS
ifndef BUILD_STATIC_LIBS
ifdef NS_TRACE_MALLOC
EXTRA_DSO_LIBS += tracemalloc
endif
else
include $(topsrcdir)/config/static-config.mk
EXTRA_DEPS += \

View File

@ -110,6 +110,16 @@ CPPSRCS = \
nsXREDirProvider.cpp \
$(NULL)
ifneq (,$(filter-out OS2 WINNT,$(OS_ARCH)))
STACKWALK_SRC_LCSRCS = \
nsStackFrameUnix.cpp \
nsStackFrameUnix.h \
$(NULL)
STACKWALK_CPPSRCS := $(addprefix $(topsrcdir)/xpcom/base/, $(STACKWALK_SRC_LCSRCS))
CPPSRCS += nsSigHandlers.cpp nsStackFrameUnix.cpp
endif
GARBAGE += $(SHAREDSRCS) $(wildcard *.$(OBJ_SUFFIX))
ifeq ($(OS_ARCH),WINNT)
GARBAGE += $(addprefix $(srcdir)/,$(SHAREDSRCS))
@ -117,7 +127,7 @@ endif
include $(topsrcdir)/config/rules.mk
LOCAL_INCLUDES += -I$(topsrcdir)/xpfe/bootstrap
LOCAL_INCLUDES += -I$(topsrcdir)/xpfe/bootstrap -I.
CXXFLAGS += $(TK_CFLAGS)
ifdef BUILD_STATIC_LIBS