Skip to content

Commit fed3ab0

Browse files
committed
Set _TIME_BITS and _FILE_OFFSET_BITS to 32
1 parent 581d8c1 commit fed3ab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile.armv7hf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ RUN sed -i 's#export PATH=#export PATH=/opt/axis/acapsdk/axis-acap-manifest-tool
4747
# Update paths and add explicit sdk path to linker in environment-setup script
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* && \
50-
sed -i '/\(CC\|CPP\|CXX\)=/s:"$: -L$SDKTARGETSYSROOT/usr/lib":g' /opt/axis/acapsdk/environment-setup* && \
50+
sed -i '/\(CC\|CPP\|CXX\)=/s:"$: -L$SDKTARGETSYSROOT/usr/lib -D_TIME_BITS=32 -D_FILE_OFFSET_BITS=32":g' /opt/axis/acapsdk/environment-setup* && \
5151
sed -i '/^export LDFLAGS=/ s:"$: -Wl,--disable-new-dtags":' /opt/axis/acapsdk/environment-setup*
5252

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

0 commit comments

Comments
 (0)