commit:     10c2c5f6080cdb4a8932add26c668e3859f4f135
Author:     Nikoli <nikoli <AT> gmx <DOT> us>
AuthorDate: Sat Jun 14 06:25:12 2014 +0000
Commit:     Nikoli <nikoli <AT> lavabit <DOT> com>
CommitDate: Sat Jun 14 06:25:12 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=10c2c5f6

media-libs/mesa: do not disable asm for amd64

bug #512208, thanks to Magnus Granberg for the patch

Package-Manager: portage-2.2.8-r1

---
 media-libs/mesa/mesa-9999.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index 965bb55..70aa961 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -300,6 +300,11 @@ multilib_src_configure() {
                "
        fi
 
+       # on abi_x86_32 hardened we need to have asm disable  
+       if [[ ${ABI} == x86* ]] && use pic; then
+               myconf+=" --disable-asm"
+       fi
+
        # build fails with BSD indent, bug #428112
        use userland_GNU || export INDENT=cat
 
@@ -316,7 +321,6 @@ multilib_src_configure() {
                $(use_enable gles2) \
                $(use_enable nptl glx-tls) \
                $(use_enable osmesa) \
-               $(use_enable !pic asm) \
                --enable-llvm-shared-libs \
                --with-dri-drivers=${DRI_DRIVERS} \
                --with-gallium-drivers=${GALLIUM_DRIVERS} \

Reply via email to