dev-util/boost-build: add patch to unbreak compiler options on sparc
authorRolf Eike Beer <eike@sf-mail.de>
Fri, 7 Sep 2018 18:57:31 +0000 (20:57 +0200)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 16 Sep 2018 21:28:40 +0000 (22:28 +0100)
commit68b4b694543cddeb2f33115f5581403d1187fe3f
treea5785bfc1cbb392a3f68f57fbcb119f5354626fd
parenta24dd6fcc5c5aa17e9b9e09b47dca1e4913ffffe
dev-util/boost-build: add patch to unbreak compiler options on sparc

Boost tries to autodetect the processor architecture and overrides any flags
set with CXXFLAGS with the -mcpu value it thinks it is appropiate. Sadly the
most recent architecture it knows of is ultrasparc3. For every newer cpu type
it falls back to it's default, which is v7 (which would be the compiler default
anyway). This avoids any advanced cpu instructions, e.g. those that support
atomic operations on thing larger than a byte. Remove the whole outdated cruft
and just use whatever the user passed in.

Closes: https://bugs.gentoo.org/646234
Closes: https://github.com/gentoo/gentoo/pull/9802
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Package-Manager: Portage-2.3.40, Repoman-2.3.9
dev-util/boost-build/boost-build-1.62.0-r1.ebuild
dev-util/boost-build/boost-build-1.63.0.ebuild
dev-util/boost-build/boost-build-1.65.0.ebuild
dev-util/boost-build/boost-build-1.66.0.ebuild
dev-util/boost-build/boost-build-1.67.0.ebuild
dev-util/boost-build/files/boost-build-1.62.0-sparc-no-default-flags.patch [new file with mode: 0644]