Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Jul 16, 2024
1 parent ad03d56 commit 92d0350
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ RUN mkdir -p /output/lib /output/include /output/include/JavaScriptCore /output/
# the exact version we need. Unfortunately, aarch64 is not pre-built so we have to build it from source.
ADD https://github.com/unicode-org/icu/releases/download/release-75-1/icu4c-75_1-src.tgz /icu.tgz
RUN --mount=type=tmpfs,target=/icu \
export CFLAGS="${DEFAULT_CFLAGS} -fno-pic -fno-pie $CFLAGS -O3 -std=c17 ${LTO_FLAG}" && \
export CXXFLAGS="${DEFAULT_CFLAGS} -fno-pic -fno-pie $CXXFLAGS -O3 -std=c++20 -fno-exceptions ${LTO_FLAG} " && \
export LDFLAGS="-fuse-ld=lld $LDFLAGS -Wl,-z,norelro -Wl,-z,lazy -Wl,-no-pie " && \
export CFLAGS="${DEFAULT_CFLAGS} $CFLAGS -O3 -std=c17 ${LTO_FLAG}" && \
export CXXFLAGS="${DEFAULT_CFLAGS} $CXXFLAGS -O3 -std=c++20 -fno-exceptions ${LTO_FLAG} " && \
export LDFLAGS="-fuse-ld=lld " && \
cd /icu && \
tar -xf /icu.tgz --strip-components=1 && \
rm /icu.tgz && \
Expand Down

0 comments on commit 92d0350

Please sign in to comment.