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/darwin-static-x86ppc | |
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/darwin-static-x86ppc')
-rw-r--r-- | configs/darwin-static-x86ppc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/darwin-static-x86ppc b/configs/darwin-static-x86ppc index 844a1d2eade..7e97474dfe0 100644 --- a/configs/darwin-static-x86ppc +++ b/configs/darwin-static-x86ppc @@ -11,6 +11,10 @@ CXXFLAGS = -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk \ -I/usr/X11R6/include -O3 -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin MKLIB_OPTIONS = -static -archopt "-isysroot /Developer/SDKs/MacOSX10.4u.sdk" +# Work around aliasing bugs - developers should comment this out +CFLAGS += -fno-strict-aliasing +CXXFLAGS += -fno-strict-aliasing + # Library names (actual file names) GL_LIB_NAME = libGL.a GLU_LIB_NAME = libGLU.a |