Skip to content

Commit 097e4e2

Browse files
authored
Test/time bits 32 (#71)
* Set _TIME_BITS and _FILE_OFFSET_BITS to 32 * Update
1 parent 581d8c1 commit 097e4e2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile.armv7hf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ RUN sed -i 's#export PATH=#export PATH=/opt/axis/acapsdk/axis-acap-manifest-tool
4848
# Add the --disable-new-dtags parameter to the default LDFLAGS to solve dynamic library rpath issues
4949
RUN sed -i 's:/opt/axis/sdk:/opt/axis/acapsdk:g' /opt/axis/acapsdk/environment-setup* && \
5050
sed -i '/\(CC\|CPP\|CXX\)=/s:"$: -L$SDKTARGETSYSROOT/usr/lib":g' /opt/axis/acapsdk/environment-setup* && \
51+
sed -i '/\(CC\|CPP\|CXX\)=/s:"$: -D_TIME_BITS=32":g' /opt/axis/acapsdk/environment-setup* && \
52+
sed -i '/\(CC\|CPP\|CXX\)=/s:"$: -D_FILE_OFFSET_BITS=32":g' /opt/axis/acapsdk/environment-setup* && \
5153
sed -i '/^export LDFLAGS=/ s:"$: -Wl,--disable-new-dtags":' /opt/axis/acapsdk/environment-setup*
5254

5355
# Copy the lib, include and .pc files from the API container

0 commit comments

Comments
 (0)