mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs.mk: Add CATCH_ONLY_YERROR switch variable
Add evalutation of CATCH_ONLY_YERROR: Ff this macro is defined, the yerror_catch_xxx macros only catch YError, all others will lead to program abort with a core dump (hopefully) pointing to the place where it was thrown.
This commit is contained in:
parent
688e945b36
commit
4d054b0018
1 changed files with 5 additions and 0 deletions
|
|
@ -73,6 +73,11 @@ else
|
|||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CATCH_ONLY_YERROR),true)
|
||||
CFLAGS += -DCATCH_ONLY_YERROR
|
||||
CPPFLAGS += -DCATCH_ONLY_YERROR
|
||||
endif
|
||||
|
||||
ifneq ($(shell echo $(OS) | cut -d: -f1),suse-9)
|
||||
SYSCONFIG_PREFIX ?= /etc
|
||||
SYSCONFIG_FILE ?= /etc/rc.config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue