1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

FreeBSD: Use -O instead of -O2

This commit is contained in:
Marcin Cieslak 2012-08-23 23:09:43 +02:00 committed by Jon Trulson
parent 17a33f0430
commit e9a031ac7a

View file

@ -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 */ /* The GCC strength-reduce bug is fixed for FreeBSD 2.1.5 and later */
#ifndef DefaultGcc2i386Opt #ifndef DefaultGcc2i386Opt
#if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion > 1) || (OSMajorVersion == 2 && OSMinorVersion == 1 && OSTeenyVersion >= 5) #if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion > 1) || (OSMajorVersion == 2 && OSMinorVersion == 1 && OSTeenyVersion >= 5)
#define DefaultGcc2i386Opt -O2 #define DefaultGcc2i386Opt -O
#endif #endif
#endif #endif
#ifdef i386Architecture #ifdef i386Architecture
# define OptimizedCDebugFlags DefaultGcc2i386Opt # define OptimizedCDebugFlags DefaultGcc2i386Opt
#else #else
# define OptimizedCDebugFlags -O2 # define OptimizedCDebugFlags -O
#endif #endif
#define ServerExtraDefines GccGasOption XFree86ServerDefines #define ServerExtraDefines GccGasOption XFree86ServerDefines