Remove LTO, potential cause of memleak
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
b0a7dfff00
commit
c20a075605
1 changed files with 0 additions and 7 deletions
|
@ -2,10 +2,6 @@ FROM nimlang/nim:alpine as builder
|
||||||
|
|
||||||
RUN apk update && apk add git \
|
RUN apk update && apk add git \
|
||||||
build-base \
|
build-base \
|
||||||
clang \
|
|
||||||
llvm \
|
|
||||||
llvm-dev \
|
|
||||||
lld \
|
|
||||||
curl \
|
curl \
|
||||||
bash \
|
bash \
|
||||||
openssl3 \
|
openssl3 \
|
||||||
|
@ -20,7 +16,6 @@ WORKDIR /app
|
||||||
# Build with necessary params to enable statically linking openssl, glibc and sqlite3
|
# Build with necessary params to enable statically linking openssl, glibc and sqlite3
|
||||||
RUN nimble build --passL:-L/usr/lib \
|
RUN nimble build --passL:-L/usr/lib \
|
||||||
-d:ssl \
|
-d:ssl \
|
||||||
--cc:clang \
|
|
||||||
-p:. \
|
-p:. \
|
||||||
--dynlibOverride:ssl \
|
--dynlibOverride:ssl \
|
||||||
--dynlibOverride:crypto \
|
--dynlibOverride:crypto \
|
||||||
|
@ -29,8 +24,6 @@ RUN nimble build --passL:-L/usr/lib \
|
||||||
--passl:-lsqlite3 \
|
--passl:-lsqlite3 \
|
||||||
--passl:-lcrypto \
|
--passl:-lcrypto \
|
||||||
--passL:-static \
|
--passL:-static \
|
||||||
--passL:"-flto=full" \
|
|
||||||
--passL:"-fuse-ld=lld" \
|
|
||||||
-d:release \
|
-d:release \
|
||||||
--opt:speed \
|
--opt:speed \
|
||||||
--accept
|
--accept
|
||||||
|
|
Loading…
Reference in a new issue