summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--vars/build.vars4
1 files changed, 3 insertions, 1 deletions
diff --git a/vars/build.vars b/vars/build.vars
index 3aa3a150..4269374b 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -1133,6 +1133,7 @@ NATIVE_PACKAGES_DEPS_X11_PYTHON="${PREFIX}/bin/python2";
: ${PKG_IMLIB2_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include/freetype2};
: ${PKG_LIBCACA_URLS_GIT:=libcaca=https://github.com/cacalabs/libcaca@master};
: ${PKG_LIBCACA_CFLAGS_CONFIGURE_EXTRA:=-std=gnu99};
+: ${PKG_LIBCACA_LDFLAGS_CONFIGURE_EXTRA:="-Wl,--as-needed -ltinfow -Wl,--as-needed"};
: ${PKG_LIBXFCE4UTIL_SHA256SUM:=876bdefa2e13cbf68b626b2158892fb93e824e1ef59cf951123a96cefbc8881d};
: ${PKG_LIBXFCE4UTIL_VERSION:=4.12.1};
: ${PKG_LIBXFCE4UTIL_URL:=https://ftp.osuosl.org/pub/blfs/7.9/l/libxfce4util-${PKG_LIBXFCE4UTIL_VERSION}.tar.bz2};
@@ -1311,7 +1312,7 @@ the_silver_searcher toilet tree terminally_tetris ubase which w3m zsh";
: ${PKG_TERMINALLY_TETRIS_BUILD_STEPS_DISABLE:=install_make};
: ${PKG_TERMINALLY_TETRIS_INSTALL_FILES:="../terminally_tetris/build/ttetris=bin/ ../terminally_tetris/man/ttetris.1=share/man/man1/"};
: ${PKG_TERMINALLY_TETRIS_CFLAGS_BUILD_EXTRA:="-std=gnu99 -g3 -O0 -I${PREFIX_NATIVE}/include -I${PREFIX_NATIVE}/include/ncurses"};
-: ${PKG_TERMINALLY_TETRIS_LDFLAGS_BUILD_EXTRA:="-L${PREFIX_NATIVE}/lib -lncurses"};
+: ${PKG_TERMINALLY_TETRIS_LDFLAGS_BUILD_EXTRA:="-L${PREFIX_NATIVE}/lib -lncurses -Wl,--as-needed -ltinfo -Wl,--no-as-needed"};
: ${PKG_TERMINALLY_TETRIS_MAKEFLAGS_BUILD_EXTRA:=C=${DEFAULT_TARGET}-gcc};
: ${PKG_UBASE_URLS_GIT:="ubase=http://git.suckless.org/ubase@master"};
: ${PKG_UBASE_DESTDIR:=destdir/suckless};
@@ -1755,6 +1756,7 @@ mailutils mtr mutt microsocks nginx openlitespeed openssh pacman rsync socat tht
: ${PKG_WEECHAT_VERSION:=2.4};
: ${PKG_WEECHAT_URL:=https://weechat.org/files/src/weechat-${PKG_WEECHAT_VERSION}.tar.gz};
: ${PKG_WEECHAT_CONFIGURE_ARGS_EXTRA:="--disable-aspell --disable-guile --disable-javascript --disable-lua --disable-perl --disable-python --disable-ruby --disable-tcl"};
+: ${PKG_WEECHAT_LDFLAGS_CONFIGURE_EXTRA:="-Wl,--as-needed -ltinfow -Wl,--no-as-needed"};
: ${PKG_WEECHAT_ENV_VARS_EXTRA:="CURL_CONFIG=${PREFIX_NATIVE}/bin/curl-config:LIBGCRYPT_CONFIG=${PREFIX_NATIVE}/bin/libgcrypt-config"};
: ${PKG_WGET_SHA256SUM:=b39212abe1a73f2b28f4c6cb223c738559caac91d6e416a6d91d4b9d55c9faee};
: ${PKG_WGET_VERSION:=1.19.5};