From d30161b7fd5fc6b6c09589ee950d3925985b2ac1 Mon Sep 17 00:00:00 2001 From: Luca Quartesan Date: Thu, 6 Jan 2022 18:50:23 +0100 Subject: [PATCH] added c++14 in flags --- build/config-linux-gcc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/config-linux-gcc.py b/build/config-linux-gcc.py index 47eb3790..817f5b64 100644 --- a/build/config-linux-gcc.py +++ b/build/config-linux-gcc.py @@ -4,7 +4,7 @@ BUILDDIR = '#build/release' DISTDIR = '#dist' CXX = 'g++' CC = 'gcc' -CXXFLAGS = ['-O3', '-Wall', '-fPIC', '-std=c++11', '-g', '-pipe', '-march=nocona', '-msse2', '-ftree-vectorize', '-mfpmath=sse', '-funsafe-math-optimizations', '-fno-rounding-math', '-fno-signaling-nans', '-fno-math-errno', '-fomit-frame-pointer', '-DMTS_DEBUG', '-DSINGLE_PRECISION', '-DSPECTRUM_SAMPLES=3', '-DMTS_SSE', '-DMTS_HAS_COHERENT_RT', '-fopenmp', '-fvisibility=hidden', '-mtls-dialect=gnu2'] +CXXFLAGS = ['-O3', '-Wall', '-fPIC','-std=c++14','-g', '-pipe', '-march=nocona', '-msse2', '-ftree-vectorize', '-mfpmath=sse', '-funsafe-math-optimizations', '-fno-rounding-math', '-fno-signaling-nans', '-fno-math-errno', '-fomit-frame-pointer', '-DMTS_DEBUG', '-DSINGLE_PRECISION', '-DSPECTRUM_SAMPLES=3', '-DMTS_SSE', '-DMTS_HAS_COHERENT_RT', '-fopenmp', '-fvisibility=hidden', '-mtls-dialect=gnu2'] LINKFLAGS = [] SHLINKFLAGS = ['-rdynamic', '-shared', '-fPIC', '-lstdc++'] BASEINCLUDE = ['#include']