defs-dev.mk, defs-dist.mk, defs.mk: Add support for BREAK_ABI compile option

This commit is contained in:
Jan Lindemann 2008-10-28 07:09:01 +00:00 committed by Jan Lindemann
commit fd374bab3c
3 changed files with 8 additions and 1 deletions

View file

@ -187,5 +187,5 @@ USE_COMPILER_DEBUG_OPTS ?= true
#USE_SNDFILE ?= true
#USE_GLIB ?= true
#USE_ASSERTIONS ?= false
BREAK_ABI ?= true

View file

@ -188,3 +188,5 @@ USE_COMPILER_DEBUG_OPTS ?= true
#USE_SNDFILE ?= true
#USE_GLIB ?= true
USE_ASSERTIONS ?= false
BREAK_ABI ?= false

View file

@ -583,6 +583,11 @@ ifeq ($(USE_MPATROL),true)
LDFLAGS += -lmpatrolmt -lbfd -liberty
endif
ifeq ($(BREAK_ABI),true)
CFLAGS += -D_BREAK_ABI_
CPPFLAGS += -D_BREAK_ABI_
endif
ifeq ($(USE_STACK_CHECK),true)
CFLAGS += -fstack-check
CPPFLAGS += -fstack-check