FreeBSD: Use -O instead of -O2
This commit is contained in:
committed by
Jon Trulson
parent
17a33f0430
commit
e9a031ac7a
@@ -125,14 +125,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 -O2
|
||||
#define DefaultGcc2i386Opt -O
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef i386Architecture
|
||||
# define OptimizedCDebugFlags DefaultGcc2i386Opt
|
||||
#else
|
||||
# define OptimizedCDebugFlags -O2
|
||||
# define OptimizedCDebugFlags -O
|
||||
#endif
|
||||
|
||||
#define ServerExtraDefines GccGasOption XFree86ServerDefines
|
||||
|
||||
Reference in New Issue
Block a user