diff --git a/srcpkgs/xbps-devel/template b/srcpkgs/xbps-devel/template
index 1528c31fba..732fa48f2a 100644
--- a/srcpkgs/xbps-devel/template
+++ b/srcpkgs/xbps-devel/template
@@ -3,7 +3,7 @@ pkgname=xbps-devel
 version="$(date +%Y%m%d)"
 build_style=configure
 build_wrksrc="xbps"
-configure_script="LDFLAGS= ./configure"
+configure_script="./configure"
 configure_args="--prefix=/ --includedir=/usr/include
 --datadir=/usr/share --mandir=/usr/share/man --with-pie
 --with-external-proplib --with-external-libfetch"
@@ -16,6 +16,7 @@ long_desc="
  binary package manager. This packages includes code from a development
  branch available from https://launchpad.net/xbps"
 
+broken_as_needed=yes
 conf_files="/etc/xbps-conf.plist"
 subpackages="$pkgname-static"
 provides="xbps-9999"