mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 23:43:10 +00:00
BUILD: Don't pass -fcheck-new to clang.
svn-id: r52582
This commit is contained in:
parent
fddb0f6c15
commit
f51c3ad62e
10
Makefile
10
Makefile
@ -34,8 +34,14 @@ ifeq "$(HAVE_GCC)" "1"
|
||||
# being helpful.
|
||||
#CXXFLAGS+= -Wmissing-format-attribute
|
||||
|
||||
# Disable RTTI and exceptions, and enable checking of pointers returned by "new"
|
||||
CXXFLAGS+= -fno-rtti -fno-exceptions -fcheck-new
|
||||
# Disable RTTI and exceptions
|
||||
CXXFLAGS+= -fno-rtti -fno-exceptions
|
||||
|
||||
ifneq "$(HAVE_CLANG)" "1"
|
||||
# enable checking of pointers returned by "new", but only when we do not
|
||||
# build with clang
|
||||
CXXFLAGS+= -fcheck-new
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq "$(HAVE_CLANG)" "1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user