From 464089365e2c72c83e5a8edb5611e537c4898501 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 4 May 2012 21:40:56 -0400 Subject: Fix some 32-bit builds Perl on some 32-bit systems needs -D_FILE_OFFSET_BITS=64. See also commit 02f1363e19b7df7cccc3523805bbf4fafe429529. --- perl/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl') diff --git a/perl/Makefile.am b/perl/Makefile.am index d02c54033058..ec1a5fd461c8 100644 --- a/perl/Makefile.am +++ b/perl/Makefile.am @@ -22,7 +22,8 @@ libNixStore_la_LIBADD = $(top_builddir)/src/libstore/libstore.la AM_CXXFLAGS = \ -I$(top_srcdir)/src -I$(top_srcdir)/src/libutil -I$(top_srcdir)/src/libstore \ - -I$(shell $(perl) -e 'use Config; print $$Config{archlibexp};')/CORE + -I$(shell $(perl) -e 'use Config; print $$Config{archlibexp};')/CORE \ + -D_FILE_OFFSET_BITS=64 lib/Nix/Store.cc: lib/Nix/Store.xs xsubpp $^ -output $@ -- cgit 1.4.1