Small refactoring in HTML5 build scripts
Drop logic for non-existent 'profile' target
This commit is contained in:
parent
a0ea57b72c
commit
504ffda8d7
2 changed files with 3 additions and 6 deletions
|
@ -1,5 +1,4 @@
|
||||||
import os
|
import os
|
||||||
import string
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
||||||
|
@ -48,8 +47,6 @@ def configure(env):
|
||||||
# run-time performance.
|
# run-time performance.
|
||||||
env.Append(CCFLAGS=['-Os'])
|
env.Append(CCFLAGS=['-Os'])
|
||||||
env.Append(LINKFLAGS=['-Os'])
|
env.Append(LINKFLAGS=['-Os'])
|
||||||
if env['target'] == 'profile':
|
|
||||||
env.Append(LINKFLAGS=['--profiling-funcs'])
|
|
||||||
|
|
||||||
elif env['target'] == 'release_debug':
|
elif env['target'] == 'release_debug':
|
||||||
env.Append(CPPDEFINES=['DEBUG_ENABLED'])
|
env.Append(CPPDEFINES=['DEBUG_ENABLED'])
|
||||||
|
|
Loading…
Reference in a new issue