Subject: PR/29401 CVS commit: xsrc/xfree/xc/config/cf
To: None <tsutsui@netbsd.org, gnats-admin@netbsd.org,>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: netbsd-bugs
Date: 02/17/2005 11:27:01
The following reply was made to PR xsrc/29401; it has been noted by GNATS.
From: Izumi Tsutsui <tsutsui@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/29401 CVS commit: xsrc/xfree/xc/config/cf
Date: Thu, 17 Feb 2005 11:26:42 +0000 (UTC)
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.