Add compiler flag for better optimization

parent 0f5fc374
......@@ -166,6 +166,9 @@ elif env['compileMode'] == 'release':
elif env['compiler'] == 'intel':
env.Append(CCFLAGS=['-O2'])
# Other compiler flags (for all compilers)
env.Append(CCFLAGS=['-fstrict-aliasing'])
# set the precompiler variables for the solver
if env['solver'] == 'fwave':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment