diff --git a/cde/config/cf/FreeBSD.cf b/cde/config/cf/FreeBSD.cf index cc6bf1369..fc7390291 100644 --- a/cde/config/cf/FreeBSD.cf +++ b/cde/config/cf/FreeBSD.cf @@ -138,14 +138,14 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe /* The GCC strength-reduce bug is fixed for FreeBSD 2.1.5 and later */ #ifndef DefaultGcc2i386Opt #if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion > 1) || (OSMajorVersion == 2 && OSMinorVersion == 1 && OSTeenyVersion >= 5) -#define DefaultGcc2i386Opt -O +#define DefaultGcc2i386Opt -O2 -fno-strict-aliasing #endif #endif #ifdef i386Architecture # define OptimizedCDebugFlags DefaultGcc2i386Opt #else -# define OptimizedCDebugFlags -O +# define OptimizedCDebugFlags -O2 -fno-strict-aliasing #endif #define ServerExtraDefines GccGasOption XFree86ServerDefines