summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnout Vandecappelle <arnout@mind.be>2012-10-30 10:59:57 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-10-30 21:04:44 (GMT)
commit8ada3b45e6af1680f9aafb38cb7425f3bcfa8380 (patch)
tree73b6062c887f99bc5ad606bf6fa00127ec25f3c9
parent29266a3375e2711fc63f2b10bed46efb598f329c (diff)
downloadbuildroot-8ada3b45e6af1680f9aafb38cb7425f3bcfa8380.tar.gz
buildroot-8ada3b45e6af1680f9aafb38cb7425f3bcfa8380.tar.bz2
strace: fix build for x86_64
strace fails to build on x86_64 because stat64 is not available. This is because the automatic detection of stat64 in configure is overridden by buildroot, by setting ac_cv_type_stat64. Just remove that override - current strace seems to detect it correctly for non-largefile platforms. Build-tested on x86_64 (with largefile), ARM (with and without largefile), sh4, MIPS and ppc-32 (no largefile). Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/strace/strace.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/strace/strace.mk b/package/strace/strace.mk
index 7876848..ad1d042 100644
--- a/package/strace/strace.mk
+++ b/package/strace/strace.mk
@@ -9,8 +9,7 @@ STRACE_SOURCE = strace-$(STRACE_VERSION).tar.xz
STRACE_SITE = http://downloads.sourceforge.net/project/strace/strace/$(STRACE_VERSION)
STRACE_CONF_ENV = ac_cv_header_linux_if_packet_h=yes \
- ac_cv_header_linux_netlink_h=yes \
- $(if $(BR2_LARGEFILE),ac_cv_type_stat64=yes,ac_cv_type_stat64=no)
+ ac_cv_header_linux_netlink_h=yes
ifeq ($(BR2_LARGEFILE),y)
# strace gets confused when lfs mode is forced, so don't