Samium Gromoff wrote (in a message from Sunday 23)
> Hello folks, /me have been recently struck by the following issue
> when i modify cf/cf/xfree86site.def::DefaultGcc2i386Opt
> to contain "-mcpu=pentium", all makefiles, xmakefile and Makefile.proto`s
> start to contain "-mcpu=1" what is inconsistent with my definition
> of cflags.... /me feels this is a bug, and while 3.3.6 isnt maintained
> anymore its useful to fix it...
> Actually i spent 2+ hours while hunting it and trying to override
> this behaviour, but i`m not an Makefile expert so i failed... ;)
In xc/config/cf/Imake.cf there is code to #undef'ine the symbols
predefined by cpp, in order to avoid the kind of problems you're
seeing.
The following patch adds an #undef pentium to the 4.1.0 source. You
should be able to adapt it to 3.3.6.
Index: xc/config/cf/Imake.cf
===================================================================
RCS file: /cvs/XF4/xc/config/cf/Imake.cf,v
retrieving revision 1.4
diff -u -r1.4 Imake.cf
--- xc/config/cf/Imake.cf 2001/09/06 22:07:51 1.4
+++ xc/config/cf/Imake.cf 2001/09/23 06:51:56
@@ -631,6 +631,9 @@
# endif
# undef i686
# endif
+# ifdef pentium
+# undef pentium
+# endif
# ifdef k6
# ifndef i386Architecture
# define i386Architecture
Matthieu
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert