2000-08-01 16:28:26 +00:00
|
|
|
--- config/cf/FreeBSD.cf.orig Sat Jun 24 21:15:53 2000
|
|
|
|
+++ config/cf/FreeBSD.cf Tue Aug 1 15:19:44 2000
|
|
|
|
@@ -135,6 +135,18 @@
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
+#ifndef HasAgpGart
|
|
|
|
+# ifdef i386Architecture
|
|
|
|
+# if OSMajorVersion >= 5 || (OSMajorVersion == 4 && OSMinorVersion >= 1)
|
|
|
|
+# define HasAgpGart YES
|
|
|
|
+# else
|
|
|
|
+# define HasAgpGart NO
|
|
|
|
+# endif
|
|
|
|
+# else
|
|
|
|
+# define HasAgpGart NO
|
|
|
|
+# endif
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
/*
|
|
|
|
* This doesn't work the way it does on every other system. On FreeBSD it's
|
|
|
|
* only a "hint, not a demand", whatever that means. Note that this is not
|
|
|
|
@@ -356,14 +368,14 @@
|
2000-03-11 00:20:34 +00:00
|
|
|
/* 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
|
|
|
|
#endif
|
|
|
|
#endif
|
2000-02-10 15:51:05 +00:00
|
|
|
|
2000-03-11 00:20:34 +00:00
|
|
|
#ifdef i386Architecture
|
|
|
|
# define OptimizedCDebugFlags DefaultGcc2i386Opt
|
|
|
|
#else
|
|
|
|
-# define OptimizedCDebugFlags -O
|
|
|
|
+# define OptimizedCDebugFlags
|
|
|
|
#endif
|
2000-02-10 15:51:05 +00:00
|
|
|
|
2000-03-11 00:20:34 +00:00
|
|
|
#ifndef PreIncDir
|