View Single Post
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 07-28-2016 , 06:58   Re: Someone explain to me why this happening?
Reply With Quote #3

Flags for all 3 projects:
PHP Code:
cxx.cflags += ( '-pipe''-Wall''-Werror''-msse''-m32''-fvisibility=hidden' )
cxx.cxxflags += ( '-std=c++11''-fno-exceptions''-fvisibility-inlines-hidden' )
cxx.linkflags.append('-m32')

if 
cxx.family == 'gcc':
  
cxx.cflags.append('-mfpmath=sse')

if 
builder.options.build_type == 'optimize':
  
cxx.cflags.append('-O3')

cxx.cflags.append('-fno-omit-frame-pointer'
BZip2 extra flag:
PHP Code:
if bz2_builder.compiler.family == 'gcc':
  
bz2_builder.compiler.cflags.append('-Wno-maybe-uninitialized'
Zlib extra flag:
PHP Code:
if z_builder.compiler.family == 'clang':
  
z_builder.compiler.cflags.append('-Wno-shift-negative-value'
AMXX/SM specific flag:
PHP Code:
if binary_builder.compiler.family == 'clang':
  
binary_builder.compiler.cflags.append('-Wno-implicit-exception-spec-mismatch'
SM specific flag:
PHP Code:
if binary_builder.compiler.like('gcc'):
  
binary_builder.compiler.cflags.append('-Wno-strict-aliasing'
__________________

Last edited by WildCard65; 07-28-2016 at 07:15.
WildCard65 is offline