зеркало из https://github.com/mozilla/gecko-dev.git
Bug 543111. Make breakpad compile when cross-compiling with toolwhip. r=ted
This commit is contained in:
Родитель
91d68aa02c
Коммит
618d27911f
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче