Bug 543111. Make breakpad compile when cross-compiling with toolwhip. r=ted

This commit is contained in:
Boris Zbarsky 2010-02-09 12:09:06 -05:00
Родитель 91d68aa02c
Коммит 618d27911f
3 изменённых файлов: 13 добавлений и 1 удалений

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

@ -61,12 +61,19 @@ endif
ifeq ($(OS_ARCH),Darwin)
CMMSRCS = mac_utils.mm
# Check both OS_ARCH (needed to be able to run it afterward) and
# HOST_OS_ARCH (needed because it refuses to cross-compile).
ifeq ($(HOST_OS_ARCH),Darwin)
DIRS += \
google-breakpad/src/tools/mac/dump_syms \
$(NULL)
endif
DIRS += \
google-breakpad/src/common \
google-breakpad/src/common/mac \
google-breakpad/src/client \
google-breakpad/src/client/mac/handler \
google-breakpad/src/tools/mac/dump_syms \
$(NULL)
endif

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

@ -34,6 +34,9 @@
#include <map>
#include <queue>
#include <vector>
#include <limits.h>
#include <stdio.h>
#include <memory>
#include "common/dwarf/functioninfo.h"

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

@ -62,11 +62,13 @@ CMSRCS = \
HTTPMultipartUpload.m \
$(NULL)
ifeq ($(HOST_OS_ARCH),Darwin)
HOST_CPPSRCS = $(CPPSRCS)
HOST_CMMSRCS = \
dump_syms.mm \
$(NULL)
endif
# need static lib
FORCE_STATIC_LIB = 1