aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorVeljko Mihailovic <veljko.mihailovic@imgtec.com>2016-02-12 15:15:14 -0500
committerMike Frysinger <vapier@chromium.org>2016-02-12 15:17:11 -0500
commitd7c0bd06248961d94ade25476bd06cb6563533d5 (patch)
treea2605eeb9f16fd709c3fea9f7d5f001a4cd269d4 /Makefile.am
parentParse additional line introduced in the microdump format and containing the G... (diff)
downloadbreakpad-d7c0bd06248961d94ade25476bd06cb6563533d5.tar.xz
Fix for linux make check build failure
Linux make check is failing for mips, mips64, arm, arm64 with error: "fatal error: mach/arm/vm_types.h: No such file or directory" in case of arm, "../src/third_party/mac_headers/mach/machine/vm_types.h:37:2: error: #error architecture not supported" in case of mips/mips64 This was partially fixed in https://codereview.chromium.org/1645673002/. Here excluding src/common/mac/macho_reader_unittest for hosts other than x86/x86-64. BUG=make check failure for linux mips TEST=make check pass Review URL: https://codereview.chromium.org/1692933002 .
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 5136b1b4..cbcbba4d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -401,8 +401,11 @@ check_PROGRAMS += \
if !DISABLE_TOOLS
check_PROGRAMS += \
src/common/dumper_unittest \
- src/common/mac/macho_reader_unittest \
src/tools/linux/md2core/minidump_2_core_unittest
+if X86_HOST
+check_PROGRAMS += \
+ src/common/mac/macho_reader_unittest
+endif
endif
endif LINUX_HOST