summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/boost.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/boost.spec b/packaging/boost.spec
index 0fdcac02ee..f00e5e1aec 100644
--- a/packaging/boost.spec
+++ b/packaging/boost.spec
@@ -393,6 +393,10 @@ find -type f ! \( -name \*.sh -o -name \*.py -o -name \*.pl \) -exec chmod -x {}
find . -name \*.orig -exec rm {} +
%build
+%ifarch armv7l
+export CFLAGS="${CFLAGS} -Wp,-D_FILE_OFFSET_BITS=64"
+export CXXFLAGS="${CXXFLAGS} -Wp,-D_FILE_OFFSET_BITS=64"
+%endif
find . -type f -exec chmod u+w {} +
# Create shared build instructions