forked from bartvdbraak/blender
Remove forced sse compile flags on render for linux. This is very bad.
Use user flags instead.
This commit is contained in:
parent
53667cc693
commit
2dac330ac0
@ -31,8 +31,11 @@ if env['WITH_BF_OPENEXR']:
|
||||
defs.append('WITH_OPENEXR')
|
||||
|
||||
if env['OURPLATFORM'] == 'linux2':
|
||||
cflags = ['-O2','-msse2','-mfpmath=sse', '-pthread']
|
||||
cxxflags = ['-O2','-msse2','-mfpmath=sse', '-pthread']
|
||||
# SSE is NOT safe all the time on linux, plus that ignores users compile flags and therefore no no
|
||||
# cflags = ['-O2','-msse2','-mfpmath=sse', '-pthread']
|
||||
# cxxflags = ['-O2','-msse2','-mfpmath=sse', '-pthread']
|
||||
cflags = env['CCFLAGS']
|
||||
cxxflags = env['CXXFLAGS']
|
||||
incs += ' ../../../extern/binreloc/include'
|
||||
|
||||
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
|
||||
|
Loading…
Reference in New Issue
Block a user