Add USE_TLS option to switch between old and new memory.c
This commit is contained in:
parent
fd42ca462d
commit
2a589c4b28
|
@ -214,6 +214,10 @@ if (CONSISTENT_FPCSR)
|
|||
set(CCOMMON_OPT "${CCOMMON_OPT} -DCONSISTENT_FPCSR")
|
||||
endif ()
|
||||
|
||||
if (USE_TLS)
|
||||
set(CCOMMON_OPT "${CCOMMON_OPT} -DUSE_TLS")
|
||||
endif ()
|
||||
|
||||
# Only for development
|
||||
# set(CCOMMON_OPT "${CCOMMON_OPT} -DPARAMTEST")
|
||||
# set(CCOMMON_OPT "${CCOMMON_OPT} -DPREFETCHTEST")
|
||||
|
|
Loading…
Reference in New Issue