forked from bartvdbraak/blender
Comment out scons '-Werror=float-conversion' for Cycles for now.
This option is only available in gcc >= 4.9, and we do not have a fancy helper in scons to check availability of a flag...
This commit is contained in:
parent
392d5de0aa
commit
c7612d68b2
@ -73,8 +73,10 @@ else:
|
||||
cxxflags.append('-ffast-math'.split())
|
||||
|
||||
# Warnings
|
||||
if env['C_COMPILER_ID'] == 'gcc':
|
||||
cxxflags.append(['-Werror=float-conversion'])
|
||||
# XXX Not supported by gcc < 4.9, since we do not have any 'supported flags' test as in cmake,
|
||||
# simpler to comment for now.
|
||||
#if env['C_COMPILER_ID'] == 'gcc':
|
||||
# cxxflags.append(['-Werror=float-conversion'])
|
||||
|
||||
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
|
||||
incs.append(env['BF_PTHREADS_INC'])
|
||||
|
Loading…
Reference in New Issue
Block a user