diff options
author | Dan Nicholson <[email protected]> | 2007-11-01 06:01:53 -0700 |
---|---|---|
committer | Dan Nicholson <[email protected]> | 2007-11-01 06:03:31 -0700 |
commit | 01b18abf93c1999397563e75fe1bfbbe0e080ae9 (patch) | |
tree | 65e03b995e094bf8bbb4d0a5b5c2e405a4ae2d78 /configs/netbsd | |
parent | ee793281b221415f794af6aadaa9764023612e0b (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.
Diffstat (limited to 'configs/netbsd')
-rw-r--r-- | configs/netbsd | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/netbsd b/configs/netbsd index f5a61a89570..aec45695071 100644 --- a/configs/netbsd +++ b/configs/netbsd @@ -12,3 +12,6 @@ CXXFLAGS = -O2 -fPIC GLUT_CFLAGS = -fexceptions APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11 -lm +# Work around aliasing bugs - developers should comment this out +CFLAGS += -fno-strict-aliasing +CXXFLAGS += -fno-strict-aliasing |