media-libs/mesa: Drop USE=pic
authorMatt Turner <mattst88@gentoo.org>
Mon, 1 Jul 2019 20:19:40 +0000 (13:19 -0700)
committerMatt Turner <mattst88@gentoo.org>
Mon, 1 Jul 2019 20:23:55 +0000 (13:23 -0700)
Upstream commit 20294dceebc2 ("mesa: Enable asm unconditionally, now
that gen_matypes is gone.") removed the -Dasm= option. I have no
information about when or why the 'pic' USE flag was added, so worst
case I'll at least find out why it's needed by removing it now...

Signed-off-by: Matt Turner <mattst88@gentoo.org>
media-libs/mesa/mesa-9999.ebuild

index 0fd4ae716a5f2bfec92b8631f339b3a52011ed51..cd10f97cc6058c925ca5a3369b807a42d4e13dbb 100644 (file)
@@ -37,7 +37,7 @@ done
 
 IUSE="${IUSE_VIDEO_CARDS}
        +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +libglvnd +llvm
-       lm_sensors opencl osmesa pax_kernel pic selinux test unwind vaapi valgrind
+       lm_sensors opencl osmesa pax_kernel selinux test unwind vaapi valgrind
        vdpau vulkan vulkan-overlay wayland xa xvmc"
 
 REQUIRED_USE="
@@ -230,13 +230,11 @@ EGIT_CHECKOUT_DIR=${S}
 
 QA_WX_LOAD="
 x86? (
-       !pic? (
-               usr/lib*/libglapi.so.0.0.0
-               usr/lib*/libGLESv1_CM.so.1.0.0
-               usr/lib*/libGLESv2.so.2.0.0
-               usr/lib*/libGL.so.1.2.0
-               usr/lib*/libOSMesa.so.8.0.0
-       )
+       usr/lib*/libglapi.so.0.0.0
+       usr/lib*/libGLESv1_CM.so.1.0.0
+       usr/lib*/libGLESv2.so.2.0.0
+       usr/lib*/libGL.so.1.2.0
+       usr/lib*/libOSMesa.so.8.0.0
 )"
 
 llvm_check_deps() {
@@ -452,11 +450,6 @@ multilib_src_configure() {
                emesonargs+=( $(meson_use pax_kernel glx-read-only-text) )
        fi
 
-       # on abi_x86_32 hardened we need to have asm disable
-       if [[ ${ABI} == x86* ]] && use pic; then
-               emesonargs+=( -Dasm=false )
-       fi
-
        if use gallium; then
                gallium_enable -- swrast
                emesonargs+=( -Dosmesa=$(usex osmesa gallium none) )