1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00

ensure we compile the wheels with bells and whistles too

This commit is contained in:
Florent Daigniere 2022-11-16 12:33:05 +01:00
parent 04f6bd2633
commit aa44a42654

View File

@ -42,6 +42,10 @@ RUN set -euxo pipefail \
; rm -f /tmp/*.pem
ENV PATH="${VIRTUAL_ENV}/bin:${PATH}"
ENV CXXFLAGS="-g -O2 -fdebug-prefix-map=/app=. -fstack-protector-strong -Wformat -Werror=format-security"
ENV CFLAGS="-g -O2 -fdebug-prefix-map=/app=. -fstack-protector-strong -Wformat -Werror=format-security"
ENV CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2"
ENV LDFLAGS="-Wl,-z,relro"
COPY requirements-${MAILU_DEPS}.txt ./
COPY libs/ libs/