aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2016-01-27 16:45:21 -0500
committerMike Frysinger <vapier@chromium.org>2016-01-27 16:45:21 -0500
commit3f736ce086d9a0ba0e3242d83f810968f5804adf (patch)
tree226d3f1d7ebdd1db395da2853d92cf8f397e2b2c /Makefile.am
parentconvert to uint8_t* for binary data to fix -Wnarrowing build errors (diff)
downloadbreakpad-3f736ce086d9a0ba0e3242d83f810968f5804adf.tar.xz
only build dump_syms_mac for x86 hosts
The dump_syms_mac tool only works for the system it is being built for (it doesn't support running on ELFs for a diff target), and it builds only for x86 currently. If you look at the mac header: src/third_party/mac_headers/mach/machine/vm_types.h it will #error for non x86/arm systems, and the arm header is not in our source tree. Tweak the build so it's only compiled when targetting x86 systems. BUG=chromium:579384 TEST=`make check` pass R=ted.mielczarek@gmail.com Review URL: https://codereview.chromium.org/1645673002 .
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 3fb2224d..47cd50ff 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -347,9 +347,12 @@ bin_PROGRAMS += \
src/tools/linux/dump_syms/dump_syms \
src/tools/linux/md2core/minidump-2-core \
src/tools/linux/symupload/minidump_upload \
- src/tools/linux/symupload/sym_upload \
+ src/tools/linux/symupload/sym_upload
+if X86_HOST
+bin_PROGRAMS += \
src/tools/mac/dump_syms/dump_syms_mac
endif
+endif
endif LINUX_HOST