media-libs/x265: Fix x32 build, bug #510890
authorBertrand Jacquin <bertrand@jacquin.bzh>
Mon, 28 Jul 2014 18:12:43 +0000 (20:12 +0200)
committerBertrand Jacquin <bertrand@jacquin.bzh>
Tue, 13 Oct 2015 23:26:19 +0000 (00:26 +0100)
commit5658f1dc7a9c128630e2c4b0b843ecfd14cbf592
tree123839cd3847179ca09c717b0a887d04331df268
parent08ab247673549576a188c27fb9d323d1693d0266
media-libs/x265: Fix x32 build, bug #510890

x32 arch as defined on https://sites.google.com/site/x32abi is neither
X86 nor X64, then forcing -march=i686 leads to build failure as wrong
-march is used.

Forcing -march, -mfloat-abi and -mfpu for ARM is also wrong
As a global sanity sake, disable all forced -march in CMakeLists

Upstream report: https://bitbucket.org/multicoreware/x265/pull-requests/21/build-disable-march-selection-from/diff

Package-Manager: portage-2.2.20.1
media-libs/x265/files/1.8-build-Disable-march-selection-from-CMakeLists.txt.patch [new file with mode: 0644]
media-libs/x265/x265-1.8.ebuild
media-libs/x265/x265-9999.ebuild