mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-18 23:21:43 +00:00
When compiling debugging builds with clang, enable -fcatch-undefined-behavior.
git-svn-id: https://svn.eduke32.com/eduke32@2160 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
6dc17eec1b
commit
d806bc9fea
1 changed files with 3 additions and 0 deletions
|
@ -89,6 +89,9 @@ ifneq (0,$(RELEASE))
|
|||
else
|
||||
# Debugging enabled
|
||||
debug=-ggdb -O0 -DDEBUGGINGAIDS
|
||||
ifeq ($(CC),clang)
|
||||
debug+= -fcatch-undefined-behavior
|
||||
endif
|
||||
ifeq ($(PLATFORM),LINUX)
|
||||
LIBS+=-rdynamic
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue