зеркало из https://github.com/github/ruby.git
Use cppflags to pass preprocessor options
This commit is contained in:
Родитель
d5d5844744
Коммит
46f175ed5c
|
@ -159,7 +159,7 @@ env:
|
|||
<<: *cron-only
|
||||
<<: *make-test-only
|
||||
env:
|
||||
- BEFORE_INSTALL="sed vm_opts.h -e 's/OPT_SUPPORT_JOKE *0/OPT_SUPPORT_JOKE 1/' -i"
|
||||
- cppflags=-DOPT_SUPPORT_JOKE
|
||||
|
||||
- &CPDEBUG
|
||||
name: CPDEBUG
|
||||
|
@ -167,7 +167,7 @@ env:
|
|||
<<: *cron-only
|
||||
<<: *make-test-only
|
||||
env:
|
||||
- DEFS="-DCPDEBUG"
|
||||
- cppflags=-DCPDEBUG
|
||||
|
||||
- &WITH_COROUTINE_UCONTEXT
|
||||
name: COROUTINE=ucontext
|
||||
|
|
|
@ -61,7 +61,9 @@
|
|||
#define OPT_STACK_CACHING 0
|
||||
|
||||
/* misc */
|
||||
#ifndef OPT_SUPPORT_JOKE
|
||||
#define OPT_SUPPORT_JOKE 0
|
||||
#endif
|
||||
|
||||
#ifndef VM_COLLECT_USAGE_DETAILS
|
||||
#define VM_COLLECT_USAGE_DETAILS 0
|
||||
|
|
Загрузка…
Ссылка в новой задаче