mirror of
https://github.com/GorgonMeducer/perf_counter.git
synced 2025-01-31 19:33:04 +08:00
支持keil AC5下选中全局GNU扩展模式
This commit is contained in:
parent
1115e60d61
commit
d142de7757
@ -1,5 +1,6 @@
|
||||
Import('rtconfig')
|
||||
from building import *
|
||||
import os
|
||||
import shutil
|
||||
|
||||
src = ['perf_counter.c', 'os/perf_os_patch_rt_thread.c']
|
||||
@ -20,6 +21,6 @@ try:
|
||||
except:
|
||||
pass
|
||||
|
||||
group = DefineGroup('perf_counter', src, depend = ['PKG_USING_PERF_COUNTER'], CPPDEFINES = CPPDEFINES, CPPPATH = path)
|
||||
group = DefineGroup('perf_counter', src, depend = ['PKG_USING_PERF_COUNTER'], CPPDEFINES = CPPDEFINES, CPPPATH = path, CXXFLAGS = ' --gnu')
|
||||
|
||||
Return('group')
|
||||
|
Loading…
x
Reference in New Issue
Block a user