mirror of
https://github.com/GorgonMeducer/perf_counter.git
synced 2025-01-31 19:33:04 +08:00
Merge pull request #20 from mysterywolf/te
This commit is contained in:
commit
e94c7c9020
@ -21,6 +21,11 @@ try:
|
||||
except:
|
||||
pass
|
||||
|
||||
group = DefineGroup('perf_counter', src, depend = ['PKG_USING_PERF_COUNTER'], CPPDEFINES = CPPDEFINES, CPPPATH = path, CXXFLAGS = ' --gnu')
|
||||
CXXFLAGS = ''
|
||||
|
||||
if rtconfig.PLATFORM == 'armcc': # Keil AC5
|
||||
CXXFLAGS += ' --gnu'
|
||||
|
||||
group = DefineGroup('perf_counter', src, depend = ['PKG_USING_PERF_COUNTER'], CPPDEFINES = CPPDEFINES, CPPPATH = path, CXXFLAGS = CXXFLAGS)
|
||||
|
||||
Return('group')
|
||||
|
Loading…
x
Reference in New Issue
Block a user