From 01b18abf93c1999397563e75fe1bfbbe0e080ae9 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Thu, 1 Nov 2007 06:01:53 -0700 Subject: Add -fno-strict-aliasing workaround for all GCC targets Use a GCC option to work around aliasing bugs. See commit 013dbcd for more details. --- configs/beos | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configs/beos') diff --git a/configs/beos b/configs/beos index f07973d0c7..9974b7b220 100644 --- a/configs/beos +++ b/configs/beos @@ -39,6 +39,10 @@ ifeq ($(CPU), x86) CXXFLAGS = $(CFLAGS) + # Work around aliasing bugs - developers should comment this out + CFLAGS += -fno-strict-aliasing + CXXFLAGS += -fno-strict-aliasing + LDFLAGS += -Xlinker ifdef DEBUG -- cgit v1.2.3