Use cppflags to pass preprocessor options
This commit is contained in:
parent
d5d5844744
commit
46f175ed5c
@ -159,7 +159,7 @@ env:
|
|||||||
<<: *cron-only
|
<<: *cron-only
|
||||||
<<: *make-test-only
|
<<: *make-test-only
|
||||||
env:
|
env:
|
||||||
- BEFORE_INSTALL="sed vm_opts.h -e 's/OPT_SUPPORT_JOKE *0/OPT_SUPPORT_JOKE 1/' -i"
|
- cppflags=-DOPT_SUPPORT_JOKE
|
||||||
|
|
||||||
- &CPDEBUG
|
- &CPDEBUG
|
||||||
name: CPDEBUG
|
name: CPDEBUG
|
||||||
@ -167,7 +167,7 @@ env:
|
|||||||
<<: *cron-only
|
<<: *cron-only
|
||||||
<<: *make-test-only
|
<<: *make-test-only
|
||||||
env:
|
env:
|
||||||
- DEFS="-DCPDEBUG"
|
- cppflags=-DCPDEBUG
|
||||||
|
|
||||||
- &WITH_COROUTINE_UCONTEXT
|
- &WITH_COROUTINE_UCONTEXT
|
||||||
name: COROUTINE=ucontext
|
name: COROUTINE=ucontext
|
||||||
|
@ -61,7 +61,9 @@
|
|||||||
#define OPT_STACK_CACHING 0
|
#define OPT_STACK_CACHING 0
|
||||||
|
|
||||||
/* misc */
|
/* misc */
|
||||||
|
#ifndef OPT_SUPPORT_JOKE
|
||||||
#define OPT_SUPPORT_JOKE 0
|
#define OPT_SUPPORT_JOKE 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef VM_COLLECT_USAGE_DETAILS
|
#ifndef VM_COLLECT_USAGE_DETAILS
|
||||||
#define VM_COLLECT_USAGE_DETAILS 0
|
#define VM_COLLECT_USAGE_DETAILS 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user