Skip to content

Commit 0d8c0cb

Browse files
authored
Unset _TIME_BITS and _FILE_OFFSET_BITS (#73)
1 parent 097e4e2 commit 0d8c0cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile.armv7hf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +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* && \
51+
sed -i '/\(CC\|CPP\|CXX\)=/s:"$: -U_TIME_BITS":g' /opt/axis/acapsdk/environment-setup* && \
52+
sed -i '/\(CC\|CPP\|CXX\)=/s:"$: -U_FILE_OFFSET_BITS":g' /opt/axis/acapsdk/environment-setup* && \
5353
sed -i '/^export LDFLAGS=/ s:"$: -Wl,--disable-new-dtags":' /opt/axis/acapsdk/environment-setup*
5454

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

0 commit comments

Comments
 (0)