SConscript (13730:2c34d4c9089b) SConscript (13777:e46c6cd6c3ab)
1# -*- mode:python -*-
2
3# Copyright (c) 2018 ARM Limited
4#
5# The license below extends only to copyright in the software and shall
6# not be construed as granting a license to any other intellectual
7# property including but not limited to intellectual property relating
8# to a hardware implementation of the functionality of the software

--- 1374 unchanged lines hidden (view full) ---

1383 makeEnv(env, 'opt', '.o',
1384 CCFLAGS = Split(ccflags['opt']),
1385 CPPDEFINES = ['TRACING_ON=1'],
1386 LINKFLAGS = Split(ldflags['opt']),
1387 disable_partial=disable_partial)
1388
1389# "Fast" binary
1390if 'fast' in needed_envs:
1# -*- mode:python -*-
2
3# Copyright (c) 2018 ARM Limited
4#
5# The license below extends only to copyright in the software and shall
6# not be construed as granting a license to any other intellectual
7# property including but not limited to intellectual property relating
8# to a hardware implementation of the functionality of the software

--- 1374 unchanged lines hidden (view full) ---

1383 makeEnv(env, 'opt', '.o',
1384 CCFLAGS = Split(ccflags['opt']),
1385 CPPDEFINES = ['TRACING_ON=1'],
1386 LINKFLAGS = Split(ldflags['opt']),
1387 disable_partial=disable_partial)
1388
1389# "Fast" binary
1390if 'fast' in needed_envs:
1391 disable_partial = disable_partial and \
1392 env.get('BROKEN_INCREMENTAL_LTO', False) and \
1393 GetOption('force_lto')
1391 disable_partial = disable_partial or \
1392 (env.get('BROKEN_INCREMENTAL_LTO', False) and \
1393 GetOption('force_lto'))
1394 makeEnv(env, 'fast', '.fo', strip = True,
1395 CCFLAGS = Split(ccflags['fast']),
1396 CPPDEFINES = ['NDEBUG', 'TRACING_ON=0'],
1397 LINKFLAGS = Split(ldflags['fast']),
1398 disable_partial=disable_partial)
1399
1400# Profiled binary using gprof
1401if 'prof' in needed_envs:

--- 13 unchanged lines hidden ---
1394 makeEnv(env, 'fast', '.fo', strip = True,
1395 CCFLAGS = Split(ccflags['fast']),
1396 CPPDEFINES = ['NDEBUG', 'TRACING_ON=0'],
1397 LINKFLAGS = Split(ldflags['fast']),
1398 disable_partial=disable_partial)
1399
1400# Profiled binary using gprof
1401if 'prof' in needed_envs:

--- 13 unchanged lines hidden ---