FreeBSD: turn off some warnings
Someday these can be addressed, but for now they are just noise.
This commit is contained in:
@@ -182,7 +182,8 @@ USE_GCC = UseGcc
|
|||||||
/* 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 -fno-strict-aliasing
|
#define DefaultGcc2i386Opt -O2 -fno-strict-aliasing -Wno-write-strings \
|
||||||
|
-Wno-unused-result -Wno-deprecated-register
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user