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/freebsd-dri | |
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/freebsd-dri')
-rw-r--r-- | configs/freebsd-dri | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/freebsd-dri b/configs/freebsd-dri index 0f52b9149b1..9d9215483d9 100644 --- a/configs/freebsd-dri +++ b/configs/freebsd-dri @@ -22,6 +22,10 @@ CFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) -Wmissing-prototypes -std=c99 - CXXFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) -Wall -ansi -pedantic $(ASM_FLAGS) $(X11_INCLUDES) +# Work around aliasing bugs - developers should comment this out +CFLAGS += -fno-strict-aliasing +CXXFLAGS += -fno-strict-aliasing + ASM_SOURCES = # Library/program dependencies |