Skip to content

Commit

Permalink
Link with pack-relative-relocs to save space
Browse files Browse the repository at this point in the history
  • Loading branch information
wader committed May 10, 2023
1 parent 0e997b0 commit 7f11503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ RUN apk add --no-cache \
# other options to get hardened build (same as ffmpeg hardened)
ARG CFLAGS="-O3 -s -static-libgcc -fno-strict-overflow -fstack-protector-all -fPIC"
ARG CXXFLAGS="-O3 -s -static-libgcc -fno-strict-overflow -fstack-protector-all -fPIC"
ARG LDFLAGS="-Wl,-z,relro,-z,now"
ARG LDFLAGS="-fuse-ld=lld -Wl,-z,relro,-z,now -Wl,-z,pack-relative-relocs"

# retry dns and some http codes that might be transient errors
ARG WGET_OPTS="--retry-on-host-error --retry-on-http-error=429,500,502,503"
Expand Down

0 comments on commit 7f11503

Please sign in to comment.