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 \
|
||||
build-base \
|
||||
clang \
|
||||
llvm \
|
||||
llvm-dev \
|
||||
lld \
|
||||
curl \
|
||||
bash \
|
||||
openssl3 \
|
||||
|
@ -20,7 +16,6 @@ WORKDIR /app
|
|||
# Build with necessary params to enable statically linking openssl, glibc and sqlite3
|
||||
RUN nimble build --passL:-L/usr/lib \
|
||||
-d:ssl \
|
||||
--cc:clang \
|
||||
-p:. \
|
||||
--dynlibOverride:ssl \
|
||||
--dynlibOverride:crypto \
|
||||
|
@ -29,8 +24,6 @@ RUN nimble build --passL:-L/usr/lib \
|
|||
--passl:-lsqlite3 \
|
||||
--passl:-lcrypto \
|
||||
--passL:-static \
|
||||
--passL:"-flto=full" \
|
||||
--passL:"-fuse-ld=lld" \
|
||||
-d:release \
|
||||
--opt:speed \
|
||||
--accept
|
||||
|
|
Loading…
Reference in a new issue