Skip to content
Snippets Groups Projects
Commit 458fcc71 authored by Natanael Copa's avatar Natanael Copa
Browse files

x11/xf86-video-vesa: force lazy binding during link

we create a temp GCC_SPEC that disabled -z now linker flag.
parent ac77009c
No related branches found
No related tags found
No related merge requests found
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-vesa
pkgver=2.2.0
pkgrel=0
pkgrel=1
pkgdesc="X.org vesa video driver"
url="http://xorg.freedesktop.org/"
license="custom"
......@@ -15,6 +15,9 @@ source="http://xorg.freedesktop.org//releases/individual/driver/$pkgname-$pkgver
build ()
{
cd "$srcdir"/$pkgname-$pkgver
${CC:-gcc} -dumpspecs | sed 's/%(link_now)//g' > "$srcdir"/gcc-specs
export GCC_SPECS="$srcdir"/gcc-specs
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment