Skip to content

Commit 9b3ecaa

Browse files
committed
Revert unneeded flags and move ROOT cxx to 23
1 parent f78de44 commit 9b3ecaa

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎Dockerfile‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,9 @@ RUN mkdir src &&\
151151
${__untar} &&\
152152
cmake \
153153
-DCMAKE_BUILD_TYPE=Release \
154-
-DCMAKE_CXX_STANDARD=20 \
154+
-DCMAKE_CXX_STANDARD=23 \
155155
-DCMAKE_INSTALL_PREFIX=${__prefix} \
156156
-DCMAKE_INSTALL_LIBDIR=lib \
157-
-DCMAKE_CXX_FLAGS="-fno-strict-aliasing" \
158-
-DCMAKE_C_FLAGS="-fno-strict-aliasing" \
159157
-Dgnuinstall=ON \
160158
-Dgminimal=ON \
161159
-Dasimage=ON \
@@ -206,8 +204,6 @@ RUN __owner="geant4" &&\
206204
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
207205
-DCMAKE_C_COMPILER=gcc-13 \
208206
-DCMAKE_CXX_COMPILER=g++-13 \
209-
-DCMAKE_CXX_FLAGS="-fno-strict-aliasing" \
210-
-DCMAKE_C_FLAGS="-fno-strict-aliasing" \
211207
-B src/build \
212208
-S src \
213209
&&\

0 commit comments

Comments
 (0)