Use Link Time Optimisation whenever possible (#6967)

This commit is contained in:
Siarhei Fedartsou
2024-06-30 21:07:49 +02:00
committed by GitHub
parent bdc6ed8a53
commit d0ed29adb7
8 changed files with 30 additions and 20 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ COPY . /src
WORKDIR /src
RUN NPROC=${BUILD_CONCURRENCY:-$(nproc)} && \
export CXXFLAGS="-Wno-array-bounds -Wno-uninitialized" && \
export CXXFLAGS="-Wno-array-bounds -Wno-uninitialized -Wno-stringop-overflow" && \
echo "Building OSRM ${DOCKER_TAG}" && \
git show --format="%H" | head -n1 > /opt/OSRM_GITSHA && \
echo "Building OSRM gitsha $(cat /opt/OSRM_GITSHA)" && \