add -fno-strict-aliasing

This commit is contained in:
Joe Thornber 2012-02-29 11:00:13 +00:00
parent a4b41e90ad
commit 5d2f39ad19

View File

@ -53,7 +53,7 @@ CXX:=@CXX@
OBJECTS:=$(subst .cc,.o,$(SOURCE)) OBJECTS:=$(subst .cc,.o,$(SOURCE))
TOP_DIR:=@top_srcdir@ TOP_DIR:=@top_srcdir@
TOP_BUILDDIR:=@top_builddir@ TOP_BUILDDIR:=@top_builddir@
CXXFLAGS+=-Wall CXXFLAGS+=-Wall -fno-strict-aliasing
CXXFLAGS+=@CXXOPTIMISE_FLAG@ CXXFLAGS+=@CXXOPTIMISE_FLAG@
CXXFLAGS+=@CXXDEBUG_FLAG@ CXXFLAGS+=@CXXDEBUG_FLAG@
INCLUDES+=-I$(TOP_BUILDDIR) -I$(TOP_DIR) INCLUDES+=-I$(TOP_BUILDDIR) -I$(TOP_DIR)