commit | 01b18abf93c1999397563e75fe1bfbbe0e080ae9 | [log] [tgz] |
---|---|---|
author | Dan Nicholson <dbn.lists@gmail.com> | Thu Nov 01 06:01:53 2007 -0700 |
committer | Dan Nicholson <dbn.lists@gmail.com> | Thu Nov 01 06:03:31 2007 -0700 |
tree | 65e03b995e094bf8bbb4d0a5b5c2e405a4ae2d78 | |
parent | ee793281b221415f794af6aadaa9764023612e0b [diff] [blame] |
Add -fno-strict-aliasing workaround for all GCC targets Use a GCC option to work around aliasing bugs. See commit 013dbcd for more details.
diff --git a/configs/beos b/configs/beos index f07973d..9974b7b 100644 --- a/configs/beos +++ b/configs/beos
@@ -39,6 +39,10 @@ CXXFLAGS = $(CFLAGS) + # Work around aliasing bugs - developers should comment this out + CFLAGS += -fno-strict-aliasing + CXXFLAGS += -fno-strict-aliasing + LDFLAGS += -Xlinker ifdef DEBUG