mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
b106bcd41c
let X server run on the i810 hardware. Enjoy!!!
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
--- 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 @@
|
|
/* 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
|
|
|
|
#ifdef i386Architecture
|
|
# define OptimizedCDebugFlags DefaultGcc2i386Opt
|
|
#else
|
|
-# define OptimizedCDebugFlags -O
|
|
+# define OptimizedCDebugFlags
|
|
#endif
|
|
|
|
#ifndef PreIncDir
|