waf: psp profiling flags for c++

This commit is contained in:
Crow-bar
2022-10-19 10:57:21 +03:00
parent 238687affa
commit 5559f728b7

View File

@@ -470,6 +470,7 @@ def configure(conf):
if conf.options.PROFILING:
conf.env.LDFLAGS += ['-lpspprof']
conf.env.CFLAGS += ['-pg']
conf.env.CXXFLAGS += ['-pg']
conf.env.LDFLAGS += psp.stdlibs()
conf.env.DEST_OS2 = 'psp'