summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/boost.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/boost.spec b/packaging/boost.spec
index 9b8260cb46..99fe33f2be 100644
--- a/packaging/boost.spec
+++ b/packaging/boost.spec
@@ -399,6 +399,12 @@ 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