From: Nabil Ghodbane Date: Tue, 18 Jan 2022 08:21:45 +0000 (+0100) Subject: spns #26832: DB11 - force c++11 X-Git-Tag: V9_9_0~222 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b2c9e4768f4d5c82fc3d7447aa412043e913e7b4;p=tools%2Fsat_salome.git spns #26832: DB11 - force c++11 --- diff --git a/products/compil_scripts/qt-5.12.10.sh b/products/compil_scripts/qt-5.12.10.sh index a8fc106..70d8bae 100755 --- a/products/compil_scripts/qt-5.12.10.sh +++ b/products/compil_scripts/qt-5.12.10.sh @@ -4,11 +4,14 @@ echo "########################################################################## echo "Qt" $VERSION echo "##########################################################################" - -if [[ $DIST_NAME == "FD" && $DIST_VERSION == "32" ]] -then - export QMAKE_CXXFLAGS="-std=c++11" -fi +LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION" +case $LINUX_DISTRIBUTION in + FD32|DB11) + export QMAKE_CXXFLAGS="-std=c++11" + ;; + *) + ;; +esac if [ -n "$SAT_DEBUG" ] then