diff --git a/tools/faust2appls/faustoptflags b/tools/faust2appls/faustoptflags index e564fd47b4..7f75f08eab 100644 --- a/tools/faust2appls/faustoptflags +++ b/tools/faust2appls/faustoptflags @@ -14,23 +14,23 @@ # Default compilation flags for gcc and icc : # if [ "$(uname -m)" = armv6l ]; then # for Raspberry PI - MYGCCFLAGS="-std=c++11 -O3 -march=armv6zk -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -ffast-math -ftree-vectorize" + MYGCCFLAGS="-std=c++14 -O3 -march=armv6zk -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -ffast-math -ftree-vectorize" elif [ "$(uname -s)" = Darwin ]; then # for macOS if [[ $(sysctl -n machdep.cpu.brand_string) =~ "Apple" ]]; then # Silicon MX - MYGCCFLAGS="-std=c++11 -Ofast" + MYGCCFLAGS="-std=c++14 -Ofast" else # Intel - MYGCCFLAGS="-std=c++11 -Ofast -march=native" + MYGCCFLAGS="-std=c++14 -Ofast -march=native" fi - MYGCCFLAGSGENERIC="-std=c++11 -Ofast" + MYGCCFLAGSGENERIC="-std=c++14 -Ofast" else # for Linux (Intel) - MYGCCFLAGS="-std=c++11 -Ofast -march=native" - MYGCCFLAGSGENERIC="-std=c++11 -Ofast" + MYGCCFLAGS="-std=c++14 -Ofast -march=native" + MYGCCFLAGSGENERIC="-std=c++14 -Ofast" fi # For Linux (intel) with icc -MYICCFLAGS="-std=c++11 -O3 -xHost -ftz -fno-alias -fp-model fast=2" +MYICCFLAGS="-std=c++14 -O3 -xHost -ftz -fno-alias -fp-model fast=2" # Default compilers