[Scummvm-cvs-logs] SF.net SVN: scummvm:[52582] scummvm/trunk/Makefile
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Mon Sep 6 01:17:53 CEST 2010
Revision: 52582
http://scummvm.svn.sourceforge.net/scummvm/?rev=52582&view=rev
Author: lordhoto
Date: 2010-09-05 23:17:52 +0000 (Sun, 05 Sep 2010)
Log Message:
-----------
BUILD: Don't pass -fcheck-new to clang.
Modified Paths:
--------------
scummvm/trunk/Makefile
Modified: scummvm/trunk/Makefile
===================================================================
--- scummvm/trunk/Makefile 2010-09-05 23:14:42 UTC (rev 52581)
+++ scummvm/trunk/Makefile 2010-09-05 23:17:52 UTC (rev 52582)
@@ -34,9 +34,15 @@
# 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"
CXXFLAGS+= -Wno-conversion -Wno-shorten-64-to-32 -Wno-sign-compare -Wno-four-char-constants
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list