diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2007-11-01 06:01:53 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2007-11-01 11:07:02 -0700 |
commit | b88e2be609f09ddc8c2a12fb4080437fcc69f765 (patch) | |
tree | 173616174b9eebd9814b338da00b8cdd18b14176 /configs/beos | |
parent | 08229c8bb8e63ac5fe28cfca594bc45ae34da509 (diff) |
Add -fno-strict-aliasing workaround for all GCC targets
Use a GCC option to work around aliasing bugs. See commit 013dbcd for
more details.
(cherry picked from commit 01b18abf93c1999397563e75fe1bfbbe0e080ae9)
Conflicts:
configs/freebsd
Diffstat (limited to 'configs/beos')
-rw-r--r-- | configs/beos | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/beos b/configs/beos index f07973d0c78..9974b7b2201 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 |