Subject: CVS commit: xsrc/xfree/xc/config/cf
To: None <source-changes@NetBSD.org>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: source-changes
Date: 02/17/2005 11:26:42
Module Name: xsrc
Committed By: tsutsui
Date: Thu Feb 17 11:26:42 UTC 2005
Modified Files:
xsrc/xfree/xc/config/cf: NetBSD.cf
Log Message:
Move a definition of -D__AMD64__ in NetBSDMachineDefines for amd64
from MACHINE dependent part to MACHINE_CPU part because:
- __AMD64__ is also used in some libraries (not only by Xserver)
- share/mk/bsd.x11.mk implicitly add -D__AMD64__ if MACHINE_ARCH == x86_64
- currently amd64 is the only MACHINE which have x86_64 MACHINE_CPU anyway
(though the real fix is to add "defined(__x86_64__)" where appropriate)
Fixes PR xsrc/29401.
To generate a diff of this commit:
cvs rdiff -r1.75 -r1.76 xsrc/xfree/xc/config/cf/NetBSD.cf
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.