mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
updates SConstruct compile flags for posix and darwin
This commit is contained in:
@@ -61,9 +61,13 @@ if env['PLATFORM'].startswith('win'):
|
||||
elif env['PLATFORM'] == 'posix':
|
||||
env.Append(CPPDEFINES = ['NDEBUG'])
|
||||
env.Append(CCFLAGS = ['-Wall', '-fno-strict-aliasing'])
|
||||
env.Append(CCFLAGS = ['-O3', '-fomit-frame-pointer', '-march=core2'])
|
||||
env.Append(CCFLAGS = ['-O3', '-fomit-frame-pointer'])
|
||||
#env['LINKFLAGS'] = ''
|
||||
elif env['PLATFORM'] == 'darwin':
|
||||
env.Append(CPPDEFINES = ['NDEBUG'])
|
||||
env.Append(CCFLAGS = ['-Wall', '-Wcast-align'])
|
||||
env.Append(CCFLAGS = ['-O3', '-fomit-frame-pointer'])
|
||||
#env['LINKFLAGS'] = ''
|
||||
|
||||
|
||||
if env['PLATFORM'].startswith('win'):
|
||||
env['LIBPATH'] = env['BOOST_LIBS']
|
||||
|
||||
Reference in New Issue
Block a user