cf: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Nov 5 19:05:23 UTC 2022
FreeBSD.cf | 3 +++
Imake.tmpl | 2 +-
linux.cf | 4 ++++
3 files changed, 8 insertions(+), 1 deletion(-)
New commits:
commit 90b66dc73deb9ef303690370395cf831425547c7
Author: Yasuhiro Kimura <yasu at utahime.org>
Date: Thu Oct 13 15:22:02 2022 +0900
Fix incompatibility issue of GNU binutils 2.36 and later on FreeBSD.
Commit a6d4d6223ef75119d5373fa4cc04161bcdb4e769 fixes incompatibility
issue of GNU binutils 2.36 and later. If I check the diff of the
commit, there seems to be asumption that the issue is specific to
Linux. But it also happens on FreeBSD if user installs GNU binutils
from FreeBSD ports/packages collections and '/usr/local/bin' comes
before '/usr/bin' in the value of PATH enviroment variable. So fix the
issue also on FreeBSD with following way.
1. Introduce new macro 'HasGnuAr'.
2. Change Imake.tmpl so it defines 'ArCmd' as 'ArCmdBase cq' if
'HasGnuAr' is defined.
3. Define 'HasGnuAr' in both FreeBSD.cf and linux.cf.
Since 'ar' command of FreeBSD base system simply ignores 'l' option,
it also works fine even if GNU binutils isn't installed.
More information about the xorg-commit
mailing list