EXPERIMANTAL: add -fstack-protector-strong to rhel image build

This commit is contained in:
Jaroslava Fiedlerova
2024-04-02 18:18:12 +02:00
parent 78f6e83f55
commit 4885e1d4ef
+5 -1
View File
@@ -35,4 +35,8 @@ COPY . .
RUN /bin/sh oaienv && \
cd cmake_targets && \
mkdir -p log && \
./build_oai --eNB --gNB --RU --UE --nrUE --ninja --build-lib "telnetsrv enbscope uescope nrscope" -w USRP -t Ethernet --noavx512 -c
CXXFLAGS="-Werror -fstack-protector-strong" CFLAGS="-Werror -fstack-protector-strong" ./build_oai -c --ninja \
--eNB --gNB --RU --UE --nrUE \
--build-lib "telnetsrv enbscope uescope nrscope" \
-w USRP -t Ethernet \
--noavx512