aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-05-29 09:34:21 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-05-29 09:35:29 +0000
commit12be49264b8adf42fd2609d4ef1d24b43ac37c24 (patch)
tree11f80c3a737291eabc01e159476b2ded63b906f1
parentc86ab44b710b514c34c56a6e75685f10362a694b (diff)
downloadaports-12be49264b8adf42fd2609d4ef1d24b43ac37c24.tar.bz2
aports-12be49264b8adf42fd2609d4ef1d24b43ac37c24.tar.xz
main/mesa: remove atomic hack for x86 and lazy link
the lazy linking does not work with musl anyway.
-rw-r--r--main/mesa/APKBUILD11
1 files changed, 1 insertions, 10 deletions
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD
index 5790b8abab..1ac866fb6b 100644
--- a/main/mesa/APKBUILD
+++ b/main/mesa/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mesa
pkgver=10.5.6
-pkgrel=1
+pkgrel=2
pkgdesc="Mesa DRI OpenGL library"
url="http://www.mesa3d.org"
arch="all"
@@ -59,10 +59,6 @@ build() {
cd "$_builddir"
[ "$CLIBC" = "musl" ] && export CFLAGS="$CFLAGS -D_XOPEN_SOURCE=700"
- # set the minimum arch for x86 to prevent atmomic linker errors
- [ "$CARCH" = "x86" ] && export CFLAGS="$CFLAGS -march=i586 -mtune=generic"
-
- export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -74,7 +70,6 @@ build() {
--enable-glx-rts \
--with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast \
--with-dri-drivers=${_dri_drivers} \
- --enable-gallium-llvm \
--enable-llvm-shared-libs \
--enable-gallium-egl \
--with-egl-platforms=x11,drm,wayland \
@@ -93,10 +88,6 @@ build() {
|| return 1
make || return 1
-
- # check so we dont have any bind NOW
- scanelf -Rb . | grep NOW && return 1
- return 0
}
package() {