summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f1fdfb9ab22..76341a32783 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -29,7 +29,7 @@ pkgver() {
build() {
cd "${_gitname}"
export CFLAGS="$CFLAGS -I/opt/vc/include"
- export LDFLAGS="$LDFLAGS -L/opt/vc/lib"
+ export LDFLAGS="${LDFLAGS//-Wl,--as-needed} -L/opt/vc/lib"
./configure --prefix=/usr --disable-vg --disable-opengl --disable-gles --disable-fbo --disable-egl --disable-x11 --disable-sdl --disable-sdl2 --disable-pulse --disable-oss --disable-ffmpeg --enable-neon --enable-dispmanx --enable-floathard --enable-udev
make
}